rollbar / rollbar.js

Error tracking and logging from Javascript to Rollbar

Home Page:https://docs.rollbar.com/docs/javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to only enable error logging if in production environment?

aliacik opened this issue · comments

This is dependent on your tooling. A lot of companies reuse the same bundles in stage test and prod. In those scenarios the simplest thing is keeping a mapping of your production origins and mapping it to stage / prod in rollbar