Drop-in Rollbar error reporting integration.
Just add your Rollbar client-side access token to your config/environment.js
:
var ENV = {
//...
rollbar: {
accessToken: '<your token here>'
}
};
The rollbar
config object is used to configure Rollbar, and defaults to the following options:
{
enabled: environment !== 'development',
captureUncaught: true,
payload: {
environment: environment
}
}
By default, any calls to Ember.Logger.error()
will be logged to Rollbar.