Browse Source

log more exceptions

tags/2.3
clowwindy 10 years ago
parent
commit
e4b66928f1
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      shadowsocks-csharp/Controller/AutoStartup.cs

+ 7
- 3
shadowsocks-csharp/Controller/AutoStartup.cs View File

@@ -15,7 +15,8 @@ namespace Shadowsocks.Controller {
}
runKey.Close();
return true;
} catch (Exception) {
} catch (Exception e) {
Logging.LogUsefulException(e);
return false;
}
}
@@ -30,8 +31,11 @@ namespace Shadowsocks.Controller {
if (item.Equals("Shadowsocks"))
return true;
}
return false;
} catch (Exception) {
return false;
}
catch (Exception e)
{
Logging.LogUsefulException(e);
return false;
}
}


Loading…
Cancel
Save