mardi 29 janvier 2019

How to disable airbrake for specific user?

My ember application uses airbrake.io for reporting errors. Airbrake is added to the project using bower : https://github.com/balinterdi/ember-cli-airbrake

This will enable airbrake for all users for the application. Hence errors from all users will be sent to me via airbrake.

What I wanna do is disable/enable airbrake based on the user. Hence when the application loads, I want to be able to decide whether I should enable airbrake or not.

Ideas?




Aucun commentaire:

Enregistrer un commentaire