Don't need to be logging upstream errors (#9260)

This commit is contained in:
Eric Bailey
2025-10-22 11:39:14 -05:00
committed by GitHub
parent 6f31121e51
commit 24606dbcfc
+1 -6
View File
@@ -11,7 +11,6 @@ import {type AppBskyFeedDefs} from '@atproto/api'
import throttle from 'lodash.throttle'
import {PROD_FEEDS, STAGING_FEEDS} from '#/lib/constants'
import {isNetworkError} from '#/lib/hooks/useCleanError'
import {Logger} from '#/logger'
import {
type FeedSourceFeedInfo,
@@ -129,11 +128,7 @@ export function useFeedFeedback(
},
},
)
.catch((e: any) => {
if (!isNetworkError(e)) {
logger.warn('Failed to send feed interactions', {error: e})
}
})
.catch(() => {}) // ignore upstream errors
// Send to Statsig
if (aggregatedStats.current === null) {