Display gateway url in error
This commit is contained in:
parent
a9da8a5daf
commit
5dc57e19c7
1 changed files with 1 additions and 1 deletions
2
wsapi.go
2
wsapi.go
|
@ -204,7 +204,7 @@ func (s *Session) listen(wsConn *websocket.Conn, listening <-chan interface{}) {
|
|||
|
||||
if sameConnection {
|
||||
|
||||
s.log(LogWarning, "error reading from websocket, %s", err)
|
||||
s.log(LogWarning, "error reading from gateway %s websocket, %s", s.gateway, err)
|
||||
// There has been an error reading, close the websocket so that
|
||||
// OnDisconnect event is emitted.
|
||||
err := s.Close()
|
||||
|
|
Loading…
Reference in a new issue