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
|
|
|
};
|