Closed
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?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/remix
SDK Version
7.74.0
Framework Version
React 18.2.0
Link to Sentry event
SDK Setup
No response
Steps to Reproduce
- Capture the
error
returned byuseRouteError
export function ErrorBoundary() {
const error = useRouteError();
captureRemixErrorBoundaryError(error);
}
- Trigger a remix 404 error:
No routes matched location "/daw/"
- The error tags look like a wrongly spreaded string:

Expected Result
The error message is displayed normally.
Actual Result
The error message is displayed like a spreaded string.
The root cause seems to be here:
When the event.data
is a string, it will be spreaded into eventData
as something like { 0: 'a', 1: 'b', 2: 'c' ... }
, which scrambles the display of error data on the page.
Metadata
Metadata
Assignees
Type
Projects
Status
No status