Skip to content

Commit

Permalink
add msgFields to the Error log call (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaaaan authored Mar 30, 2024
1 parent 6d652ba commit 44e80d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ func (h *handler) handleMessage(msg *Message, handler HandlerFunc) {

producedMessages, err := handler(msg)
if err != nil {
h.logger.Error("Handler returned error", err, nil)
h.logger.Error("Handler returned error", err, msgFields)
msg.Nack()
return
}
Expand Down

0 comments on commit 44e80d8

Please # to comment.