You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 12, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 12, 2026. It is now read-only.
For this example in particular, would be keen to see how you recommend logging caught and recoverable errors in dev, since the example link above seems to obfuscate these errors, ie is this appropriate or would it re-log errors?
onUncaughtError: Sentry.reactErrorHandler((error,errorInfo)=>{console.warn("Uncaught error",error,errorInfo.componentStack);}),// Callback called when React catches an error in an ErrorBoundary.onCaughtError: Sentry.reactErrorHandler((error,errorInfo)=>{// this is not in above guideconsole.warn("Caught error",error,errorInfo.componentStack);}),// Callback called when React automatically recovers from errors.onRecoverableError: Sentry.reactErrorHandler((error,errorInfo)=>{// this is not in above guideconsole.warn("Recoverable error",error,errorInfo.componentStack);}),
Activity
TomRadford commentedon Jul 1, 2025
Ah! I see https://docs.sentry.io/platforms/javascript/guides/react/features/react-router/v7/ - perhaps you could add an example for library mode in this repo?