Commit 05f6e661 authored by Savorboard's avatar Savorboard

Modify logs content.

parent 1320a542
...@@ -72,7 +72,7 @@ namespace DotNetCore.CAP ...@@ -72,7 +72,7 @@ namespace DotNetCore.CAP
} }
catch (Exception ex) catch (Exception ex)
{ {
_logger.ExceptionOccuredWhileExecuting(message.Name, ex); _logger.LogError(ex, $"An exception occurred while executing the subscription method. Topic:{message.Name}, Id:{message.Id}");
await SetFailedState(message, ex, out bool stillRetry); await SetFailedState(message, ex, out bool stillRetry);
if (stillRetry) if (stillRetry)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment