Ver Fonte

Tiny cleanup :ok_hand:

Chris Rhodes há 9 anos atrás
pai
commit
3aaa95d4f9
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      wsapi.go

+ 1 - 1
wsapi.go

@@ -128,7 +128,7 @@ func unmarshalEvent(event Event, i interface{}) (err error) {
 		fmt.Println(event.Type, err)
 		printJSON(event.RawData) // TODO: Better error loggingEvent.
 	}
-	return err
+	return
 }
 
 // Front line handler for all Websocket Events.  Determines the