mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-06 00:36:58 +00:00
Log signalR errors as trace when they are network connection aborted
Closes #498
This commit is contained in:
@@ -64,6 +64,11 @@ namespace NzbDrone.Host.Owin
|
||||
return LogLevel.Trace;
|
||||
}
|
||||
|
||||
if (lower.Contains("signalr") && lower.Contains("the network connection was aborted by the local system"))
|
||||
{
|
||||
return LogLevel.Trace;
|
||||
}
|
||||
|
||||
return LogLevel.Error;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user