Issue
I'm getting unknown events with title "Object captured as exception with keys:..." with no stack trace and little information.
Applies To
All SaaS Customers
Self-Hosted
All SDKs
Resolution
These kind of events happens when a non-error object is thrown or manually sent to Sentry. For example:
const nonErrorObject = {
keys:"lost",
foo:"bar",
details:"unremarkable"
}
Sentry.captureException(nonErrorObject)
//or
throw nonErrorObjectThis is an expected behaviour and the only way to prevent it is by finding where the non-error object is being thrown/raised.
You can filter these events with ignoreErrors (for other filters, please check the dedicated filtering docs for your SDK):
ignoreErrors:["Object captured as exception"]
