chore(messenger)_: extend failed protobuf processing log

This commit is contained in:
Patryk Osmaczko 2024-09-25 21:32:24 +02:00 committed by osmaczko
parent 9294ffc12b
commit 2c5737b7f6
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}