Log client errors.

This commit is contained in:
Juliusz Chroboczek committed 2021-02-02 22:46:54 +01:00
1 parent d9e72f4fd0
commit f4811e8cf5
1 file changed
+3
+3
View File
@@ -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)