Don't log error on the shutdown the command execution pipeline.

This commit is contained in:
Qstick 2017-10-08 01:20:51 -04:00
parent 4cb3d8bac7
commit cf11906118
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ namespace NzbDrone.Core.Messaging.Commands
_logger.Error(ex, "Thread aborted");
Thread.ResetAbort();
}
catch (OperationCanceledException ex)
{
_logger.Trace("Stopped one command execution pipeline");
}
catch (Exception ex)
{
_logger.Error(ex, "Unknown error in thread");