Skip to content
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

Expose the Sentry Error Id on the error page #1222

Open
wesbos opened this issue Oct 20, 2023 · 0 comments
Open

Expose the Sentry Error Id on the error page #1222

wesbos opened this issue Oct 20, 2023 · 0 comments
Milestone

Comments

@wesbos
Copy link
Collaborator

wesbos commented Oct 20, 2023

Would be funny to make our error page say something like:

Oopsie Dasiy. We had an error.

Don't worry, we boxed it up and gave it a name. Your error is little baby 4sd4sdf234k2l3j4 and we're rushing to the tend to it right now.

THEN if we can make the syntax site errors public and link to it? is that possible?

I did some early look into it and the sentry captureException API returns the ID. The Sveltekit lib doesn't return the ID, so we would either need to change that, or just re-implment the handlerError function here: https://github.com/getsentry/sentry-javascript/blob/develop/packages/sveltekit/src/server/handleError.ts#L24

cc @benvinegar for ideas on this

@stolinski stolinski added this to the 2.1 milestone Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants