UnhandledRejection - Non-Error promise rejection captured with value

Got this response from Sentry support:
These types of events are caused when a rejection is raised with a non-error object, from which we cannot extract much information. These can be filtered using the ignoreErrors option:

Sentry.init({
    dsn:__MY_DSN__,
      ignoreErrors:[
       "Non-Error exception captured",
       "Non-Error promise rejection captured"
      ]
    })
1 Like