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 package are you using?
@sentry/react
SDK Version
7.8.0
Framework Version
No response
Link to Sentry event
No response
Steps to Reproduce
Capturing this exception:
Sentry.captureException(new Error('NotFoundError: GET /organizations/{orgSlug}/events/ 404'))
Leads to this code in the core SDK
where the path in the exception message gets matched with the regex and is mistaken as a frame:
This then gets filtered by inbound filters as it does not match any URLs in allowUrls
.
Expected Result
Frame at index 0 should not exist
Actual Result
As a workaround, I'm wrapping the pathname in quotes.