Reduce Sentry noise from logger transport and expected-failure call sites (#10893)

This commit is contained in:
Spence Pope
2026-07-01 10:43:01 -04:00
committed by GitHub
parent e86067986f
commit c4ce3ce0fb
12 changed files with 75 additions and 25 deletions
+1 -1
View File
@@ -287,7 +287,7 @@ export function Provider({children}: React.PropsWithChildren<unknown>) {
}))
} catch (err) {
const e = err as Error
logger.error('Failed to translate text on device', {safeMessage: e})
logger.warn('Failed to translate text on device', {safeMessage: e})
// On-device translation failed (language pack missing or user
// dismissed the download prompt).
ax.metric('translate:result', {