1
Fork 0

Log client errors.

This commit is contained in:
Juliusz Chroboczek 2021-02-02 19:37:29 +01:00
parent d9e72f4fd0
commit f4811e8cf5
1 changed files with 3 additions and 0 deletions

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)