born05 / craft-sentry

Pushes Craft CMS errors to Sentry.
MIT License
10 stars 11 forks source link

Enabling JS errors interferes with frontend JS #16

Closed russback closed 3 years ago

russback commented 3 years ago

Bit of a strange one this.

There are no errors reported in the console, just notifications as Sentry does its thing. However on a page where there is a Craft Commerce Stripe payment intent form, the JavaScript SDK that loads from Stripe doesn't initiate so the payment form doesn't work.

Changing reportJsErrors to false resolves the issue, so appears to be down to Sentry's JS tracking.

roelvanhintum commented 3 years ago

@russback can you provide some additional info? Error messages or something? I've just setup a basic commerce environment using the example templates with the stripe gateway and sentry js reporting, but everything seems to work fine.

russback commented 3 years ago

Sorry @roelvanhintum this one was put on hold, and is no longer showing this behaviour.