### Discussed in https://github.com/getsentry/sentry-javascript/discussions/5958 <div type='discussions-op-text'> <sup>Originally posted by **jorisre** October 14, 2022</sup> When I throw a 500 json response with Remix, the exception name is incorrect. ```ts throw json( { data: {} }, { status: 500, statusText: "My error" } ); ``` Result in:  How I can set myself the exception name for Sentry ?</div>