Przeglądaj źródła

Tiny cleanup :ok_hand:

Chris Rhodes 9 lat temu
rodzic
commit
3aaa95d4f9
1 zmienionych plików z 1 dodań i 1 usunięć
  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