stackbone

Uncaught exception logging with stack traces for Backbone apps

Stackbone

Uncaught exception logging with stack traces for Backbone apps. Works by intercepting, logging, and rethrowing errors at common Backbone stack roots.

Stackbone = require('stackbone'); // optional

Stackbone.start({
  Backbone: Backbone
  jQuery: jQuery
  onError: function (err) {
    // ... log the error ...
  }
});
npm install && npm test