8000 Wrong exception name (`Object.captureException`) when a 500 with Remix json response · Issue #5963 · getsentry/sentry-javascript · GitHub
[go: up one dir, main page]

Skip to content
Wrong exception name (Object.captureException) when a 500 with Remix json response #5963
@AbhiPrasad

Description

@AbhiPrasad

Discussed in #5958

Originally posted by jorisre October 14, 2022
When I throw a 500 json response with Remix, the exception name is incorrect.

throw json(
  { data: {} },
  {
    status: 500,
    statusText: "My error"
  }
);

Result in:

image

How I can set myself the exception name for Sentry ?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0