diff --git a/irc/client.go b/irc/client.go index 394f2a65..39013e68 100644 --- a/irc/client.go +++ b/irc/client.go @@ -659,6 +659,7 @@ func (client *Client) run(session *Session) { if err == errInvalidUtf8 { invalidUtf8 = true // handle as normal, including labeling } else if err != nil { + client.server.logger.Debug("connect-ip", "read error from client", err.Error()) var quitMessage string switch err { case ircreader.ErrReadQ: