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
@@ -132,7 +132,7 @@ export function Root({children}: {children: React.ReactNode}) {
const onHoverableTouchUp = useCallback((id: string) => {
const hoverable = hoverables.current.get(id)
if (!hoverable) {
logger.warn(`No such hoverable with id ${id}`)
logger.warn(`No such hoverable`, {id})
return
}
hoverable.onTouchUp()
@@ -189,7 +189,7 @@ export function useVideoElement(ref: RefObject<HTMLVideoElement | null>) {
`The play() request was interrupted by a call to pause()`,
)
) {
logger.error('Error playing video:', {message: err})
logger.warn('Error playing video:', {message: err})
}
})
}