Extra logging for non OP0 events, for now.

This commit is contained in:
Bruce Marriner 2016-04-28 21:50:57 -05:00
parent c8e6cbffcf
commit d557bb24a5

View file

@ -319,7 +319,7 @@ func (s *Session) onEvent(messageType int, message []byte) {
if e.Operation != 0 { if e.Operation != 0 {
// But we probably should be doing something with them. // But we probably should be doing something with them.
// TEMP // TEMP
s.log(LogWarning, "Op: %d, Seq: %d, Type: %s, Data: %s", e.Operation, e.Sequence, e.Type, string(e.RawData)) s.log(LogWarning, "Op: %d, Seq: %d, Type: %s, Data: %s, message: %s", e.Operation, e.Sequence, e.Type, string(e.RawData), string(message))
return return
} }