Browse Source

modify error log content.

master
Savorboard 7 years ago
parent
commit
bf2a874103
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/DotNetCore.CAP.Kafka/PublishQueueExecutor.cs

+ 1
- 1
src/DotNetCore.CAP.Kafka/PublishQueueExecutor.cs View File

@@ -49,7 +49,7 @@ namespace DotNetCore.CAP.Kafka
catch (Exception ex) catch (Exception ex)
{ {
_logger.LogError( _logger.LogError(
$"kafka topic message [{keyName}] has been raised an exception of sending. the exception is: {ex.Message}");
$"An error occurred during sending the topic message to kafka. Topic:[{keyName}], Exception: {ex.Message}");


return Task.FromResult(OperateResult.Failed(ex)); return Task.FromResult(OperateResult.Failed(ex));
} }


Loading…
Cancel
Save