log more exceptions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user