Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion core/request_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,11 @@ func (c *Connection) msgCallback(msgID uint16, data []byte) {
l.Debugf("Unable to decode message: %v", err)
}
}
l.Errorf("Channel ID not known, ignoring the message: %T %+v", msg, msg)
// This can happen when a stream was closed explicitly before the last message received.
// It's expected and not an error.
if log.Level >= logrus.DebugLevel {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should have included the part above that does decoding as that is actually what can have performance hit.

l.Debugf("Channel ID not known, ignoring the message: %T %+v", msg, msg)
}
return
}

Expand Down