Browse Source

Catch All Exception for GetStringAsync

tags/3.0
icylogic 9 years ago
parent
commit
6bccd24e81
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs

+ 1
- 1
shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs View File

@@ -102,7 +102,7 @@ namespace Shadowsocks.Controller
{ {
jsonString = await new HttpClient().GetStringAsync(API); jsonString = await new HttpClient().GetStringAsync(API);
} }
catch (HttpRequestException e)
catch (Exception e)
{ {
Logging.LogUsefulException(e); Logging.LogUsefulException(e);
return null; return null;


Loading…
Cancel
Save