Simulate throwing error from extension #6673
Answered
by
lforst
AndriiSiuta
asked this question in
Q&A
|
Hi, I have a question, we have a lot of errors from extensions (facebook browser, etc).
|
Answered by
lforst
Jan 9, 2023
Replies: 2 comments
|
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 |
0 replies
Answer selected by
AndriiSiuta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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()