Commit 64df91da authored by Nick Craver's avatar Nick Craver

Test exceptions: add, ya know, useful data to this thing

parent 96279398
......@@ -91,7 +91,7 @@ protected void OnConnectionFailed(object sender, ConnectionFailedEventArgs e)
Interlocked.Increment(ref privateFailCount);
lock (privateExceptions)
{
privateExceptions.Add("Connection failed: " + EndPointCollection.ToString(e.EndPoint) + "/" + e.ConnectionType);
privateExceptions.Add($"Connection failed ({e.FailureType}): {EndPointCollection.ToString(e.EndPoint)}/{e.ConnectionType}: {e.Exception}");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment