Catch All Exception for GetStringAsync

This commit is contained in:
icylogic
2015-10-01 12:04:32 +08:00
parent 6550c04650
commit 6bccd24e81
@@ -102,7 +102,7 @@ namespace Shadowsocks.Controller
{
jsonString = await new HttpClient().GetStringAsync(API);
}
catch (HttpRequestException e)
catch (Exception e)
{
Logging.LogUsefulException(e);
return null;