mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Don't log error on the shutdown the command execution pipeline.
closes #1961
This commit is contained in:
parent
afcf136c4f
commit
ab49afe116
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ namespace NzbDrone.Core.Messaging.Commands
|
||||||
_logger.Error(ex, "Thread aborted");
|
_logger.Error(ex, "Thread aborted");
|
||||||
Thread.ResetAbort();
|
Thread.ResetAbort();
|
||||||
}
|
}
|
||||||
|
catch (OperationCanceledException ex)
|
||||||
|
{
|
||||||
|
_logger.Trace("Stopped one command execution pipeline");
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.Error(ex, "Unknown error in thread");
|
_logger.Error(ex, "Unknown error in thread");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue