chore(messenger)_: extend failed protobuf processing log
This commit is contained in:
parent
d6e6217d01
commit
5bfb6df876
|
@ -3622,7 +3622,7 @@ func (m *Messenger) handleRetrievedMessages(chatWithMessages map[transport.Filte
|
||||||
err := m.dispatchToHandler(messageState, msg.ApplicationLayer.Payload, msg, filter, fromArchive)
|
err := m.dispatchToHandler(messageState, msg.ApplicationLayer.Payload, msg, filter, fromArchive)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
allMessagesProcessed = false
|
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 {
|
if m.unhandledMessagesTracker != nil {
|
||||||
m.unhandledMessagesTracker(msg, err)
|
m.unhandledMessagesTracker(msg, err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue