diff --git a/src/Wolverine/Runtime/Handlers/Executor.cs b/src/Wolverine/Runtime/Handlers/Executor.cs index e5e3a6a7e..106e6477c 100644 --- a/src/Wolverine/Runtime/Handlers/Executor.cs +++ b/src/Wolverine/Runtime/Handlers/Executor.cs @@ -116,7 +116,6 @@ public async Task InvokeInlineAsync(Envelope envelope, CancellationToken cancell { activity?.SetStatus(ActivityStatusCode.Error, e.GetType().Name); _tracker.ExecutionFinished(envelope, e); - _logger.LogError(e, "Inline invocation of {Message} failed", envelope.Message); throw; } finally @@ -228,7 +227,7 @@ public async Task InvokeAsync(MessageContext context, Cancellation } catch (Exception e) { - _logger.LogError(e, "Invocation failed!"); + _logger.LogError(e, "Invocation of {Message} failed!", context.Envelope.Message); var retry = _rules.TryFindInlineContinuation(e, context.Envelope); if (retry == null)