Skip to content

Commit

Permalink
use closure variable for error message
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Nov 9, 2023
1 parent aaf2596 commit 92bcf49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (em *EventManager) broadcastEvent(evt *XRPCStreamEvent) {
},
}:
case <-time.After(time.Second * 5):
log.Warnw("failed to send error frame to backed up consumer", "ident", s.ident)
log.Warnw("failed to send error frame to backed up consumer", "ident", torem.ident)
}
torem.cleanup()
}(s)
Expand Down

0 comments on commit 92bcf49

Please sign in to comment.