15 lines
362 B
JavaScript
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;
|