Skip to content

Commit

Permalink
Logging failure encountered deserializing has been enriched (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
VCuzmin authored Jan 7, 2021
1 parent d97f2f7 commit cff1381
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ async Task HandleMessage(string msg)
catch (Exception ex)
{
_logger.LogError(
"MessageBusSubscriber encountered an error when deserializing a message from topic {TopicName}.\n {Error}",
_topicName, ex);
"MessageBusSubscriber encountered an error when deserializing a message from topic {TopicName}.\n {Error} \n Message: {Message}",
_topicName, ex, msg);
//TODO: push to DLQ
}

Expand Down

0 comments on commit cff1381

Please sign in to comment.