Skip to content

Simulate throwing error from extension #6673

Answered by lforst
AndriiSiuta asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately we don't have an easy way to test this reliably. I guess the best way to test is writing your own extension and throw an error there (even though I agree that it is a bit weird). Otherwise, if you're willing to commit to that, you can manufacture an error like a extension would throw it and just pass it to Sentry.captureException()

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by AndriiSiuta
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants