mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
handler: log unknown event.
This commit is contained in:
parent
3b0c16b308
commit
971e3bff4e
@ -109,6 +109,7 @@ func (h *MessageHandlerCtx) Message(session types.Session, raw []byte) bool {
|
|||||||
return h.sendBroadcast(session, payload)
|
return h.sendBroadcast(session, payload)
|
||||||
})
|
})
|
||||||
default:
|
default:
|
||||||
|
h.logger.Warn().Str("event", header.Event).Msg("unknown message event")
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user