string formating fixes

This commit is contained in:
bergquist
2018-08-28 22:33:38 +02:00
parent ff7b0d4f63
commit 12c9860882
10 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ func (c *connection) readPump() {
func (c *connection) handleMessage(message []byte) {
json, err := simplejson.NewJson(message)
if err != nil {
log.Error(3, "Unreadable message on websocket channel:", err)
log.Error(3, "Unreadable message on websocket channel. error: %v", err)
}
msgType := json.Get("action").MustString()