-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add wrapRemixHandleError
instructions
#8681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a few language tweaks, but otherwise this looks great!
Co-authored-by: Liza Mock <[email protected]>
I can file a bug for this, but using v7.91.0 of @sentry/remix generates: My import { init as SentryInit, wrapRemixHandleError } from '@sentry/remix'
import { renderHeadToString } from 'remix-island'
import { Head } from './root'
import { renderToReadableStream } from 'react-dom/server'
SentryInit({
dsn: 'https://6ea...',
tracesSampleRate: 0.1
})
export const handleError = wrapRemixHandleError |
I got it, the fix is to use |
Ref: getsentry/sentry-javascript#9725
Updated
handleError
instructions to reflect the new feature.Also updated external links from Remix v1 documentation to v2.