1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-26 02:25:58 +01:00

Log client errors.

This commit is contained in:
Juliusz Chroboczek 2021-02-02 19:37:29 +01:00
parent d9e72f4fd0
commit f4811e8cf5

View file

@ -751,6 +751,9 @@ func StartClient(conn *websocket.Conn) (err error) {
c.write(*m) c.write(*m)
} }
c.close(e) c.close(e)
if err != nil {
log.Printf("Client: %v", err)
}
}() }()
return clientLoop(c, conn) return clientLoop(c, conn)