Sonarr/gulp/errorHandler.js

7 lines
182 B
JavaScript
Raw Normal View History

2014-08-30 06:19:57 +00:00
module.exports = {
2015-07-22 02:42:38 +00:00
onError : function(error) {
2014-08-30 06:19:57 +00:00
//If you want details of the error in the console
console.log(error.toString());
this.emit('end');
}
2015-07-22 02:42:38 +00:00
};