Ignore Firefox error alerts from sentry #6764
-
Hello, I have been trying to exclude Firefox error alerts from sentry. There is no option available in sentry backend to exclude Firfox alerts where as rest of browsers are there. Also I am trying to use Thanks!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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 |
Beta Was this translation helpful? Give feedback.
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.