From 2e58afbbefc7f9abb80dbf984700b00c4a66ae33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=BB=D0=B5=D0=B1=20=D0=9A=D0=BE=D0=B3=D1=82=D0=B5?= =?UTF-8?q?=D0=B2?= Date: Sat, 11 Oct 2025 00:04:16 +0300 Subject: [PATCH] Change Channel ID not known log message level, as it's expected behaviour and not an error. Signed-off-by: Gleb Kogtev --- core/request_handler.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/request_handler.go b/core/request_handler.go index 3e351223..5f2d34e8 100644 --- a/core/request_handler.go +++ b/core/request_handler.go @@ -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 { + l.Debugf("Channel ID not known, ignoring the message: %T %+v", msg, msg) + } return }