Skip to content

Commit

Permalink
Throw, because the error isn't handled later anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Jun 23, 2016
1 parent 988b045 commit d8936af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.js
Expand Up @@ -46,7 +46,7 @@ request.getXHR = function () {
try { return new ActiveXObject('Msxml2.XMLHTTP.3.0'); } catch(e) {}
try { return new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) {}
}
return false;
throw Error("Browser-only verison of superagent could not find XHR");
};

/**
Expand Down

0 comments on commit d8936af

Please sign in to comment.