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:
parent
d9e72f4fd0
commit
f4811e8cf5
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue