1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 15:32:31 +01:00

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

closes #1961
This commit is contained in:
Taloth Saldono 2017-06-20 17:35:37 +02:00
parent afcf136c4f
commit ab49afe116

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");