Skip to content

Instantly share code, notes, and snippets.

@brianr
Created July 1, 2014 17:38
Show Gist options
  • Save brianr/9da77548c7ba24253546 to your computer and use it in GitHub Desktop.
Save brianr/9da77548c7ba24253546 to your computer and use it in GitHub Desktop.
Tracking Ember.js production errors with Rollbar
// you'll need a Rollbar account (rollbar.com)
// and the rollbar.js snippet in your <head> tag,
// from https://rollbar.com/docs/notifier/rollbar.js/
Ember.onerror = function(error) {
Rollbar.error(error);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment