|
|
@ -144,8 +144,11 @@ namespace NzbDrone.Common.Messaging
|
|
|
|
var sw = Stopwatch.StartNew();
|
|
|
|
var sw = Stopwatch.StartNew();
|
|
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
try
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!MappedDiagnosticsContext.Contains("CommandId"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MappedDiagnosticsContext.Set("CommandId", trackedCommand.Command.CommandId);
|
|
|
|
MappedDiagnosticsContext.Set("CommandId", trackedCommand.Command.CommandId);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
PublishEvent(new CommandStartedEvent(trackedCommand));
|
|
|
|
PublishEvent(new CommandStartedEvent(trackedCommand));
|
|
|
|
handler.Execute(command);
|
|
|
|
handler.Execute(command);
|
|
|
|