From d557bb24a54bccf32a869acc94f2a3ed3dbd5735 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Thu, 28 Apr 2016 21:50:57 -0500 Subject: [PATCH] Extra logging for non OP0 events, for now. --- wsapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsapi.go b/wsapi.go index 077d092..acfc3eb 100644 --- a/wsapi.go +++ b/wsapi.go @@ -319,7 +319,7 @@ func (s *Session) onEvent(messageType int, message []byte) { if e.Operation != 0 { // But we probably should be doing something with them. // 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 }