Skip to content

Commit 504ed3b

Browse files
committed
event unmarshal error
1 parent c5653e7 commit 504ed3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

event.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (e *events) CallEvent(client interface{}, msg *protocol.Message) {
8989
if msg.Args != "" {
9090
msg.Args = strings.Trim(msg.Args, " ")
9191
if err := json.Unmarshal([]byte(msg.Args), &args); err != nil {
92-
log.Println("json decode error:", msg.Args, args)
92+
log.Println("json decode error:", msg.Args, args, err)
9393
// if decode error, not return here
9494
// The second parameter of the event processing function will be zero value,
9595
// suggest that your system handles it yourself

0 commit comments

Comments
 (0)