Skip to content

Commit 5b73488

Browse files
committed
Stop logging MediaHost errors to Sentry.
These errors are just an indication that we can't load a site icon for a private site. It's not a big issue, and we'll proceed to try and load the icon as if it was a public site. Worst case, we won't display an icon for the site in question.
1 parent db1bea7 commit 5b73488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/Classes/ViewRelated/Reader/ReaderPostCardCell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ private extension ReaderPostCardCell {
369369
let mediaRequestAuthenticator = MediaRequestAuthenticator()
370370
let host = MediaHost(with: contentProvider, failure: { error in
371371
// We'll log the error, so we know it's there, but we won't halt execution.
372-
WordPressAppDelegate.crashLogging?.logError(error)
372+
DDLogError("ReaderPostCardCell MediaHost error: \(error.localizedDescription)")
373373
})
374374

375375
mediaRequestAuthenticator.authenticatedRequest(

0 commit comments

Comments
 (0)