xcarve-server/lib/error_handler.js
2015-08-17 10:54:25 -04:00

15 lines
362 B
JavaScript

// this file is part of the v0.2.1 easel local OS X install.
// you can find out more about easel and the x-carve at
// inventables.com & easel.inventables.com
var ErrorHandler = (function () {
return {
trigger : function (err) {
// TODO: better error handling and recovery
console.error(err);
}
}
})();
module.exports = ErrorHandler;