-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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/vue
SDK Version
7.10.0
Framework Version
@sentry/vue
Link to Sentry event
No response
Steps to Reproduce
Sample project for Repro: https://github.com/lucas-zimerman/vue-sample
Might be able to reproduce it using CaptureException("String") as long as the exception doesn't have a StackTrace AND with RewriteFrames added to the integrations list...
I noticed that when adding a custom RewriteFrames to the default integration and once captured an exception without a Stack Trace, the following error will appear on Sentry
removing the custom RewriteFrames makes the problem go away
Event with RewriteFrames:
https://sentry.io/organizations/sentry-sdks/issues/3506485394/events/8ddefde797594beaa5e4121359365d1d/?project=5522756
Event without RewriteFrames:
https://sentry.io/organizations/sentry-sdks/issues/3506485394/events/1f8af199287248db8d638e6251bd3146/?project=5522756#context-user
My assumption is the default constructor is adding an empty Stack-Trace despite value.stacktrace
being undefined
Expected Result
An event with StackTrace or without the error message (I am not sure if that specific error on my sample project should have a Stack Trace)
Actual Result
The error message at Sentry.