Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/remix
SDK Version
7.110.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: process.env.SENTRY_REMIX_DSN,
environment: process.env.APP_ENV,
release: `itsme-b2b-portal-fe@${process.env.APP_VERSION}`,
tracesSampleRate: Number(process.env.SENTRY_SAMPLE_RATE),
initialScope: {
tags: {
'app.version': process.env.APP_VERSION,
'portal.version': process.env.B2B_PORTAL_VERSION,
},
},
});
Steps to Reproduce
- Add
export const handleError = Sentry.wrapRemixHandleError
to yourentry.server.tsx
- Throw a random server error (for instance
throw new Error('foo');
in aloader
function) - Check the terminal console and find no message
foo
in console.
Expected Result
I expect the node console to log foo
Actual Result
no foo
message
Metadata
Metadata
Assignees
Type
Projects
Status
No status