1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Log signalR errors as trace when they are network connection aborted

Closes #498
This commit is contained in:
Mark McDowall 2015-05-23 21:38:53 -07:00
parent 49acae0fbb
commit f4b9d0336d

View File

@ -64,6 +64,11 @@ private LogLevel GetLogLevel(string value)
return LogLevel.Trace;
}
if (lower.Contains("signalr") && lower.Contains("the network connection was aborted by the local system"))
{
return LogLevel.Trace;
}
return LogLevel.Error;
}
}