Browse Source

Modify logs content.

undefined
Savorboard 6 years ago
parent
commit
46c8dc8948
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/DotNetCore.CAP/ISubscribeExecutor.Default.cs

+ 1
- 1
src/DotNetCore.CAP/ISubscribeExecutor.Default.cs View File

@@ -72,7 +72,7 @@ namespace DotNetCore.CAP
}
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);
if (stillRetry)


Loading…
Cancel
Save