mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 19:50:15 -07:00
Allow failing a Command using a specific message.
This commit is contained in:
parent
a058333f65
commit
8833f1ad31
2 changed files with 9 additions and 5 deletions
|
@ -129,7 +129,11 @@ namespace NzbDrone.Core.Messaging.Commands
|
|||
}
|
||||
|
||||
handler.Execute((TCommand)command);
|
||||
_trackCommands.Completed(command);
|
||||
|
||||
if (command.State == CommandStatus.Running)
|
||||
{
|
||||
_trackCommands.Completed(command);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue