mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
handler: include event in error.
This commit is contained in:
parent
0270939ee2
commit
3b0c16b308
@ -113,7 +113,7 @@ func (h *MessageHandlerCtx) Message(session types.Session, raw []byte) bool {
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
h.logger.Error().Err(err).Msg("message handler has failed")
|
||||
h.logger.Error().Err(err).Str("event", header.Event).Msg("message handler has failed")
|
||||
}
|
||||
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user