Custom error handler nextJS #8348
LeikoDmitry
started this conversation in
General
Replies: 2 comments 2 replies
|
Hey @LeikoDmitry, thanks for writing in. What are you referring to as custom error handler here - is it for client or server side? I would recommend just following the Next.js docs here, anything you do should just work in Sentry and sourcemaps out of the box. The Sentry SDK's expose a |
0 replies
|
I mean, when I build a project, sentrySDK sends source map to server via API, but when my server may be unavailable, it crashes with error about inability to send and project build crashes. How to make a handler for this error so that the build doesn't crash. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, there
I have a one question, could you please show me How I can implements the custom error handler when nextJs build the project and send the source map?
Best regards, Dmitry
All reactions