Skip to content

Instantly share code, notes, and snippets.

@shunchu
Last active August 4, 2017 03:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shunchu/e664c43588f425870cee to your computer and use it in GitHub Desktop.
Save shunchu/e664c43588f425870cee to your computer and use it in GitHub Desktop.
display ember promise errors
// source: https://ianpetzer.wordpress.com/2013/07/24/dont-let-ember-js-swallow-errors-in-your-promises/
Ember.RSVP.configure('onerror', function(e) {
console.log(e.message);
console.log(e.stack);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment