Non-Error exception captured with keys: error

See original GitHub issue

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

Output of node -v && npm -v && npm ls --prod --depth=0

v9.7.1
5.7.1

Config:

Sentry.config('https://...@sentry.io/...', {
....
}).install()
"react": "16.2.0",
"react-native": "0.53.0",
"react-native-sentry": "^0.35.3",

I am getting lots of crashes with this error -

 } else if (isPlainObject(ex)) {
      // If it is plain Object, serialize it manually and extract options
      // This will allow us to group events based on top-level keys
      // which is much better than creating new group when any key/value change
      options = this._getCaptureExceptionOptionsFromPlainObject(options, ex);
      ex = new Error(options.message);
    } else {
      // If none of previous checks were valid, then it means that
      // it's not a plain Object
      // it's not a valid ErrorEvent (one with an error property)
      // it's not an Error

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:44 (11 by maintainers)

github_iconTop GitHub Comments

31reactions
glebmachinecommented, Jul 19, 2018

This is not specific to react-native, i got this on angular 6 application

16reactions
glebmachinecommented, Jul 7, 2018

Still got this error: Non-Error exception captured with keys: error, headers, message, name, ok…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Non-Error exception captured with keys: error, headers ...
This means that the object you provide is not an instance of Error which holds the stacktrace in Angular app.
Read more >
Why am I seeing events with "Non-Error exception (or promise ...
If you're seeing errors having the message "Non-Error exception (or promise rejection) captured with keys: x, y, z.
Read more >
Non-Error exception captured with keys: _abort, _raw, body ...
Hello! I'm using the Sentry node client (v4.1.1) and I'm trying to log server errors using hapi.js. In the catch block of my...
Read more >
Non-Error exception captured with keys: _bodyBlob, _bodyInit ...
Sentry Issue: MOBILE-7 Error: Non-Error exception captured with. ... were not displayed) Non-Error exception captured with keys: _bodyBlob, ...
Read more >
Event Type Definitions - Sentry Developer Documentation
- **Error monitoring events**: Processed and grouped into unique issues based on their exception stack traces and error messages. - **Security events**: Derived ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found