admin管理员组

文章数量:1316687

This is an issue we've had for a while now, although this error has recently been appearing much more frequently for us in Sentry. Clicking into the issue does not give us much more info:

Like any painful error, we are having difficulty recreating the issue on our end - going to these website URLs does not cause this issue locally for me (although, I am on Mac, not Windows). A few related questions we have:

  • is this something we can safely ignore in Sentry?
  • if safe to ignore, is it better to ignore in the Sentry website in the Browser by clicking the ignore button, or by adding ignoreErrors into our Sentry.init() with

We initialize Sentry in our React App with this snippet in our index.js file:

Sentry.init({
    dsn: config.dsn,
    integrations: [
        new Integrations.BrowserTracing()
    ],
    tracesSampleRate: 1.0
});

and we initialize in our Node App in it's index.js file:

const sentryDsn = env === 'development' ? null : config.SENTRY_DSN;
Sentry.init({ dsn: sentryDsn, tracesSampleRate: 1.0 });

I show both initializations as I am not sure if this is an error ing from our React app or our Node App, although I think it's from our React App. Also, from this article, it seems like we could ignore these errors directly from our app with the following added to Sentry.init({}):

ignoreErrors:[
   "Non-Error exception captured",
   "Non-Error promise rejection captured"
]

We also found this related GitHub issue, although it doesn't seem like there are any great conclusions in here as well. What is our best course of action here?

This is an issue we've had for a while now, although this error has recently been appearing much more frequently for us in Sentry. Clicking into the issue does not give us much more info:

Like any painful error, we are having difficulty recreating the issue on our end - going to these website URLs does not cause this issue locally for me (although, I am on Mac, not Windows). A few related questions we have:

  • is this something we can safely ignore in Sentry?
  • if safe to ignore, is it better to ignore in the Sentry website in the Browser by clicking the ignore button, or by adding ignoreErrors into our Sentry.init() with

We initialize Sentry in our React App with this snippet in our index.js file:

Sentry.init({
    dsn: config.dsn,
    integrations: [
        new Integrations.BrowserTracing()
    ],
    tracesSampleRate: 1.0
});

and we initialize in our Node App in it's index.js file:

const sentryDsn = env === 'development' ? null : config.SENTRY_DSN;
Sentry.init({ dsn: sentryDsn, tracesSampleRate: 1.0 });

I show both initializations as I am not sure if this is an error ing from our React app or our Node App, although I think it's from our React App. Also, from this article, it seems like we could ignore these errors directly from our app with the following added to Sentry.init({}):

ignoreErrors:[
   "Non-Error exception captured",
   "Non-Error promise rejection captured"
]

We also found this related GitHub issue, although it doesn't seem like there are any great conclusions in here as well. What is our best course of action here?

Share Improve this question edited Aug 2, 2024 at 22:15 halfer 20.3k19 gold badges109 silver badges202 bronze badges asked Feb 22, 2023 at 17:53 CanoviceCanovice 10.5k31 gold badges129 silver badges280 bronze badges 2
  • 1 Have you figured out where this error is ing from? – Mähnenwolf Commented Jun 21, 2023 at 12:01
  • The actual error that you need to find and fix is "Object Not Found Matching Id". That some code threw this as a string (apparently?) and not a new Error as remended is just informational and the reason why you didn't get a proper stack trace. This might make debugging harder, but it is not a valid reason to ignore the error. – Bergi Commented Jul 20, 2023 at 17:10
Add a ment  | 

1 Answer 1

Reset to default 4

As suggested in the GitHub issue, it seems to be caused due an issue with Outlook.

This is most likely happening due to the safe links being scanned by Outlook

If you have an Office 365 subscription and your emails contain links to your site and these links use Safe Links feature then it is bound to happen

Given that most of the users are ing from Windows, I'd say it's safe ignoring.

本文标签: