Fixed falling out of the network monitor thread if the ZeroTier service isn't running on Windows

This commit is contained in:
Grant Limberg 2017-05-08 13:27:54 -07:00
parent b9c1407013
commit 8c30b2b9f5
2 changed files with 13 additions and 7 deletions

View file

@ -152,10 +152,11 @@ namespace WinUI
Thread.Sleep(2000);
}
}
catch
catch (Exception e)
{
Console.WriteLine("Monitor Thread Ended");
Console.WriteLine("Monitor Thread Exception: " + "\n" + e.StackTrace);
}
Console.WriteLine("Monitor Thread Ended");
}
public void SubscribeStatusUpdates(StatusCallback cb)