Downgrade expected error to warning

This commit is contained in:
Max Radermacher 2026-01-15 14:52:45 -06:00
parent aa02b42798
commit af378990bb

View File

@ -422,11 +422,12 @@ public class ShareViewController: OWSNavigationController, ShareViewDelegate, SA
self.shareViewWasCancelled()
}
default:
Logger.warn("building attachment failed with error: \(error)")
let alertTitle = OWSLocalizedString(
"SHARE_EXTENSION_UNABLE_TO_BUILD_ATTACHMENT_ALERT_TITLE",
comment: "Shown when trying to share content to a Signal user for the share extension. Followed by failure details.",
)
OWSActionSheets.showActionSheet(
title: alertTitle,
message: error.userErrorDescription,
@ -434,7 +435,6 @@ public class ShareViewController: OWSNavigationController, ShareViewDelegate, SA
) { _ in
self.shareViewWasCancelled()
}
owsFailDebug("building attachment failed with error: \(error)")
}
}