Simulate throwing error from extension #6673
-
Hi, I have a question, we have a lot of errors from extensions (facebook browser, etc).
|
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
-
Thanks @lforst! |
Beta Was this translation helpful? Give feedback.
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()