mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Skip unknown/removed commands still queued in the database
This commit is contained in:
@@ -69,8 +69,7 @@ namespace NzbDrone.Core.Messaging.Commands
|
||||
|
||||
try
|
||||
{
|
||||
var handlerContract = typeof(IExecute<>).MakeGenericType(command.GetType());
|
||||
handler = (IExecute<TCommand>)_serviceFactory.Build(handlerContract);
|
||||
handler = (IExecute<TCommand>)_serviceFactory.Build(typeof(IExecute<TCommand>));
|
||||
|
||||
_logger.Trace("{0} -> {1}", command.GetType().Name, handler.GetType().Name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user