From 24c2880b20c03076db15860a52e115ea59f69f49 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 19 May 2022 15:18:15 +0300 Subject: [PATCH] Adjust error response content log --- portal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal.go b/portal.go index 9de1bb9..e8afd8d 100644 --- a/portal.go +++ b/portal.go @@ -2346,7 +2346,7 @@ func (portal *Portal) handleMediaRetry(retry *events.MediaRetry, source *User) { errorName := waProto.MediaRetryNotification_MediaRetryNotificationResultType_name[int32(retryData.GetResult())] if retryData.GetDirectPath() == "" { portal.log.Warnfln("Got error response in media retry notification for %s: %s", retry.MessageID, errorName) - portal.log.Debugfln("Error response contents: %s / %s", retryData.GetStanzaId(), retryData.GetDirectPath()) + portal.log.Debugfln("Error response contents: %+v", retryData) if retryData.GetResult() == waProto.MediaRetryNotification_NOT_FOUND { portal.sendMediaRetryFailureEdit(intent, msg, whatsmeow.ErrMediaNotAvailableOnPhone) } else {