Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/remix
SDK Version
7.53.1
Framework Version
Remix 1.16.1
Link to Sentry event
No response
SDK Setup
// entrypoint.client.tsSentry.init({debug: true,dsn: "XXX",integrations: [newSentry.BrowserTracing({routingInstrumentation: Sentry.remixRouterInstrumentation(useEffect,useLocation,useMatches),}),newSentry.Replay(),],// Performance MonitoringtracesSampleRate: 1.0,// Capture 100% of the transactions, reduce in production!// Session ReplayreplaysSessionSampleRate: 0.1,// This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.replaysOnErrorSampleRate: 1.0,// If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.});// entrypoint.server.tsSentry.init({debug: true,dsn: "XXX",integrations: [newSentry.Integrations.Prisma({client: prisma})],// Performance MonitoringtracesSampleRate: 1.0,// Capture 100% of the transactions, reduce in production!});// rootfunctionApp(){return(<htmllang="en"className="h-full bg-gray-100"><head><metacharSet="utf-8"/><metaname="viewport"content="width=device-width,initial-scale=1"/><Meta/><Links/></head><bodyclassName="h-full"><IntlProviderlocale={"en"}><Outlet/></IntlProvider><ScrollRestoration/><Scripts/><LiveReload/></body></html>);}exportdefaultwithSentry(App);Steps to Reproduce
- Clone this repo
- Remove try catch here so you get the equivalent of the docs here:
exportconstaction: ActionFunction=async({ request })=>{thrownewError("Sentry Error");};- trigger action
When turning on debug, it will also give out
Sentry Logger [warn]: Remix SDK was unable to wrap your root because of one or more missing parameters.
Expected Result
Unhandled error that breaks actions or loaders should be reported to sentry
Actual Result
Nothing is reported to sentry
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/remix
SDK Version
7.53.1
Framework Version
Remix 1.16.1
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
When turning on
debug, it will also give outExpected Result
Unhandled error that breaks actions or loaders should be reported to sentry
Actual Result
Nothing is reported to sentry