1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35: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.close(e)
if err != nil {
log.Printf("Client: %v", err)
}
}()
return clientLoop(c, conn)