3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-01-21 01:34:20 +01:00

add connID to another logline

This commit is contained in:
Shivaram Lingamneni 2025-01-15 22:12:40 -05:00
parent e520ba7e0e
commit 2163d96348

View File

@ -682,7 +682,7 @@ func (client *Client) run(session *Session) {
if err == errInvalidUtf8 { if err == errInvalidUtf8 {
invalidUtf8 = true // handle as normal, including labeling invalidUtf8 = true // handle as normal, including labeling
} else if err != nil { } else if err != nil {
client.server.logger.Debug("connect-ip", "read error from client", err.Error()) client.server.logger.Debug("connect-ip", session.connID, "read error from client", err.Error())
var quitMessage string var quitMessage string
switch err { switch err {
case ircreader.ErrReadQ: case ircreader.ErrReadQ: