Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Giving SAX errors a name

  • Loading branch information...
commit 9604da164f04d65a93286c16ec9c409d8e186ce0 1 parent 6fd5e6e
@garrettrayj authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  main.js
View
1  main.js
@@ -133,6 +133,7 @@ FeedParser.prototype.handleEnd = function (){
};
FeedParser.prototype.handleSaxError = function (e) {
+ e.prototype.name = 'SaxError';
this.emit('error', e);
if (this.options.resume_saxerror) {
this.resumeSaxError();
Please sign in to comment.
Something went wrong with that request. Please try again.