Skip to content

Ignore Firefox error alerts from sentry #6764

Answered by AbhiPrasad
ameeyswain asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @ameeyswain. We detect browser (firefox, chrome, safari), based on the user agent coming from the browser. This processing is done on the Sentry server-side.

To detect and exclude firefox we recommend detecting browsers in your client-side js and filtering in beforeSend accordingly. You can use a library like https://github.com/lancedikson/bowser for this, or take an approach like https://stackoverflow.com/a/9851769.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by smeubank
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