From cf11906118db8c1b01b1030f2ecdc203f881c745 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 8 Oct 2017 01:20:51 -0400 Subject: [PATCH] Don't log error on the shutdown the command execution pipeline. --- src/NzbDrone.Core/Messaging/Commands/CommandExecutor.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/NzbDrone.Core/Messaging/Commands/CommandExecutor.cs b/src/NzbDrone.Core/Messaging/Commands/CommandExecutor.cs index 6ce968954..f2f727180 100644 --- a/src/NzbDrone.Core/Messaging/Commands/CommandExecutor.cs +++ b/src/NzbDrone.Core/Messaging/Commands/CommandExecutor.cs @@ -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");