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