forked from pothtonswer/discordmuffin
Extra logging for non OP0 events, for now.
This commit is contained in:
parent
c8e6cbffcf
commit
d557bb24a5
1 changed files with 1 additions and 1 deletions
2
wsapi.go
2
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue