-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
_mergeOptions is not a function at React SDK #7032
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
Comments
Hi @matheusgoc thanks for writing in! Usually such errors occur for two reasons:
|
Hey @Lms24, thank you so much for the answer. You help me found it out. 💪🏾 There was a third party library called |
@matheusgoc glad you were able to figure it out! I assume the 3rd party script comes from: https://onsched.com/ - we're going to reach out and ask them to not use Sentry for these cases (or at least avoid patching the global integrations). Sentry is meant to instrument applications, not libraries. |
Yep @AbhiPrasad you're right! That's belong from onsched.com. They have a kind of UI elements library to interact with their API: https://docs.onsched.com/docs/onschedjs-overview. Would be nice to tell them to not use Sentry then. Thank you! |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/react
SDK Version
^7.34.0
Framework Version
react ^18.2.0
Link to Sentry event
https://ventricle-health.sentry.io/issues/3910525852
SDK Setup
Steps to Reproduce
yarn start
Expected Result
Should not report an issue to Sentry since there isn't any.
Actual Result
It reports the following issue to Sentry:
TypeError ?(bundle)
o._mergeOptions is not a function
pointing to
./node_modules/@sentry/core/esm/integrations/inboundfilters.js
which suggest that this is might be a issue on Sentry.Even forcing an error it will always report Sentry like that. There are similar tickets related but none of them address React SDK or has a reasonable solution:
#2622
#5572
#4956
#2622
#4118
I appreciate any help! I've tried all possibilities and couldn't solve that out.
The text was updated successfully, but these errors were encountered: