log more exceptions

This commit is contained in:
clowwindy
2015-01-01 21:55:55 +08:00
parent a9aede0bad
commit e4b66928f1
+7 -3
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;
}
}