7 lines
181 B
JavaScript
7 lines
181 B
JavaScript
|
module.exports = {
|
||
|
onError:function (error) {
|
||
|
//If you want details of the error in the console
|
||
|
console.log(error.toString());
|
||
|
this.emit('end');
|
||
|
}
|
||
|
}
|