fix error caused by type migration

This commit is contained in:
icylogic
2016-01-18 16:42:33 +08:00
parent e0ee791e3b
commit 6df589facf
@@ -285,8 +285,8 @@ namespace Shadowsocks.Controller
{
Logging.LogUsefulException(e);
}
if (!File.Exists(path)) {
Console.WriteLine($"statistics file does not exist, try to reload {RetryInterval / 60 / 1000} minutes later");
if (!File.Exists(path)) {
Console.WriteLine($"statistics file does not exist, try to reload {RetryInterval.TotalMinutes} minutes later");
_timer.Change(RetryInterval, Interval);
return;
}