mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-15 16:26:34 +00:00
Log signalR errors as trace when they are network connection aborted
Closes #498
This commit is contained in:
parent
49acae0fbb
commit
f4b9d0336d
1 changed files with 5 additions and 0 deletions
|
@ -64,6 +64,11 @@ namespace NzbDrone.Host.Owin
|
||||||
return LogLevel.Trace;
|
return LogLevel.Trace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (lower.Contains("signalr") && lower.Contains("the network connection was aborted by the local system"))
|
||||||
|
{
|
||||||
|
return LogLevel.Trace;
|
||||||
|
}
|
||||||
|
|
||||||
return LogLevel.Error;
|
return LogLevel.Error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue