Reduce some Sentry logs (#2549)
* Reduce some Sentry logs * Update tests
This commit is contained in:
@@ -272,7 +272,8 @@ export function usePinnedFeedsInfos(): {
|
||||
},
|
||||
})
|
||||
} catch (e) {
|
||||
logger.warn(`usePinnedFeedsInfos: failed to fetch ${uri}`, {
|
||||
// expected failure
|
||||
logger.info(`usePinnedFeedsInfos: failed to fetch ${uri}`, {
|
||||
error: e,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
|
||||
}
|
||||
broadcast.postMessage({event: unreadCountStr})
|
||||
} catch (e) {
|
||||
logger.error('Failed to check unread notifications', {error: e})
|
||||
logger.warn('Failed to check unread notifications', {error: e})
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user