Browse Source

Add more clear log

tags/2.5.7
icylogic 9 years ago
parent
commit
879163dc2b
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs

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

@@ -6,8 +6,8 @@ using System.Net.NetworkInformation;
using System.Threading; using System.Threading;
using Shadowsocks.Model; using Shadowsocks.Model;
using System.Reflection; using System.Reflection;
using Shadowsocks.Util;
using Shadowsocks.Util;
namespace Shadowsocks.Controller namespace Shadowsocks.Controller
{ {
class AvailabilityStatistics class AvailabilityStatistics
@@ -81,6 +81,7 @@ namespace Shadowsocks.Controller
} }
catch (Exception e) catch (Exception e)
{ {
Console.WriteLine($"An exception occured when eveluating {server.FriendlyName()}");
Logging.LogUsefulException(e); Logging.LogUsefulException(e);
} }
} }


Loading…
Cancel
Save