-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Issue with SDK in Lightning Web Components - Salesforce #16315
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
Hey @pankajkabra thanks for reaching out. Could you try the first bundle again and set |
@chargome tried debug:true but no additional logging appears. essentially issue i am seeing is POST request is not getting triggered when captureException method is being called. |
So if you don't see any Sentry logs you're most likely not initializing Sentry at all. Where do you call the |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
9.15.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
https://codefile.io/f/84xs7nA3Np
Steps to Reproduce
I created this lightning web component https://codefile.io/f/84xs7nA3Np
Issue is.
LWC is a salesforce fronted so importing external libraries works differently https://developer.salesforce.com/docs/platform/lwc/guide/js-third-party-library.html.
Expected Result
Event should be captured on sentry.io
Actual Result
No event captured when using https://js.sentry-cdn.com/xxxxx.min.js and getting exception while loading sdk if using https://browser.sentry-cdn.com/9.15.0/bundle.replay.min.js and https://browser.sentry-cdn.com/9.15.0/bundle.min.js
The text was updated successfully, but these errors were encountered: