Created
July 1, 2014 17:38
-
-
Save brianr/9da77548c7ba24253546 to your computer and use it in GitHub Desktop.
Tracking Ember.js production errors with Rollbar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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