Skip to content

Commit

Permalink
chore: remove exception from UnhandledExceptionHandlerBase trace logging
Browse files Browse the repository at this point in the history
  • Loading branch information
RLittlesII committed Jan 14, 2025
1 parent b997546 commit bea8a82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Core/Exceptions/UnhandledExceptionHandlerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ public void HandleException(Exception exception, Guid correlationId)
{
if (!CanHandle(exception))
{
Logger.LogTrace(exception, "Cannot Handle: {Correlation}", correlationId);
Logger.LogTrace("Cannot Handle: {Correlation}", correlationId);
return;
}

Logger.LogTrace(exception, "Can Handle: {Correlation}", correlationId);
Logger.LogTrace("Can Handle: {Correlation}", correlationId);
Handle(exception, correlationId);
Logger.LogTrace(exception, "Handled: {Correlation}", correlationId);
Logger.LogTrace("Handled: {Correlation}", correlationId);
}

/// <inheritdoc/>
Expand Down

0 comments on commit bea8a82

Please sign in to comment.