From 2c5737b7f6287694bbf6e71516e1a6e7b6b86f6b Mon Sep 17 00:00:00 2001 From: Patryk Osmaczko Date: Wed, 25 Sep 2024 21:32:24 +0200 Subject: [PATCH] chore(messenger)_: extend failed protobuf processing log --- protocol/messenger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/messenger.go b/protocol/messenger.go index 92ae81018..7a5aad832 100644 --- a/protocol/messenger.go +++ b/protocol/messenger.go @@ -3636,7 +3636,7 @@ func (m *Messenger) handleRetrievedMessages(chatWithMessages map[transport.Filte err := m.dispatchToHandler(messageState, msg.ApplicationLayer.Payload, msg, filter, fromArchive) if err != nil { allMessagesProcessed = false - logger.Warn("failed to process protobuf", zap.Error(err)) + logger.Warn("failed to process protobuf", zap.String("type", msg.ApplicationLayer.Type.String()), zap.Error(err)) if m.unhandledMessagesTracker != nil { m.unhandledMessagesTracker(msg, err) }