-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create property 'sdk' on boolean 'false' #3518
Comments
Nothing in our SDKs should be setting I notice there are no breadcrumbs on your event. Do you know why that is? Having them on would tell us what happened immediately before this error, which might provide some helpful context. |
@lobsterkatie I'd assumed I don't get breadcrumbs because the Sentry exception handling code itself throws an exception here. I normally get breadcrumbs, including for (other) TypeErrors. How would you feel about making the Sentry code more resilient to this case, so that we can then see what extra info we can get out of it? |
It's looking like this is caused by a That would be my fault, but you might like to make the code resilient to this, because I won't be the only idiot around. |
@edwh totally agree, sent an appropriate PR |
Package + Version
@sentry/browser
6.2.5@sentry/node
6.2.5(This is not quite the latest version of the Sentry modules, but I think it's the latest nuxt wrapping of them.)
Description
I see many errors like this:
Cannot create property 'sdk' on boolean 'false'
The error is in the sentry code, here:
I don't know why event should be false, but it doesn't look robust against that possibility. If it was, then I might find out more about the underlying error.
An example: https://sentry.io/organizations/freegle/issues/2379888684/
I don't have a standalone repro for this, but I see it about ten times a day on a live system, so I can test things fairly easily.
The text was updated successfully, but these errors were encountered: