sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

Improve Node server-side errors for Remix

Open AbhiPrasad opened this issue 3 years ago • 0 comments

Problem Statement

After testing on Vanguard, we found some less than ideal errors that were happening server-side. Let's see if we can improve the Remix SDK to improve the quality of the errors.

https://sentry.io/organizations/sentry/issues/3430115954/?project=6301746&query=is%3Aunresolved

image

Solution Brainstorm

TODO.

AbhiPrasad avatar Jul 28 '22 16:07 AbhiPrasad

After some investigation it was found that the bad quality Vanguard errors were due to the usage of a custom express server - we weren't instrumenting on that properly. To resolve this, we decided to export wrappers that users can use if they are using a custom express server. This should help improve the situation on vanguard.

Ref: https://github.com/getsentry/sentry-javascript/pull/5524

Closing this issue as there isn't much more actionable tasks we can do, we can open new issues if we see other specific improvements we can make.

AbhiPrasad avatar Aug 11 '22 15:08 AbhiPrasad