Closed
Description
This issue is a follow up of #6332. It has been close since at that time I thought this was an Angular package only issue, but it looks like the is also upstream.
From what I can see, this is caused by https://github.com/getsentry/sentry-javascript/blob/master/packages/browser/src/eventbuilder.ts#L228-L230.
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?
Self-hosted/on-premise
Which package are you using?
@sentry/angular
SDK Version
7.4.30
Framework Version
Angular 13.3 & Ionic 5
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
throw {
name: 'ErrorLikeObject',
message: 'ErrorLikeObject message',
};
Expected Result
A Sentry record showing something along the lines of:
ErrorLikeObject
ErrorLikeObject message
Actual Result
The current Sentry record showing something along the lines of:
captureException
Non-Error exception captured with keys: message, name