Commit f4811e8c authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Log client errors.

parent d9e72f4f
......@@ -751,6 +751,9 @@ func StartClient(conn *websocket.Conn) (err error) {
c.write(*m)
}
c.close(e)
if err != nil {
log.Printf("Client: %v", err)
}
}()
return clientLoop(c, conn)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment