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