1
0
forked from lug/matterbridge

Enable errcheck linter (#646)

This commit is contained in:
Duco van Amstel
2018-12-08 16:04:10 +00:00
committed by Wim
parent b6d81f34ba
commit a2754f15fc
7 changed files with 37 additions and 25 deletions

View File

@@ -263,8 +263,7 @@ func (m *MMClient) sendWSRequest(action string, data map[string]interface{}) err
req.Data = data
m.WsSequence++
m.log.Debugf("sendWsRequest %#v", req)
m.WsClient.WriteJSON(req)
return nil
return m.WsClient.WriteJSON(req)
}
func supportedVersion(version string) bool {