actually fix api.lbry.io errors getting swallowed

This commit is contained in:
Jeremy Kauffman 2017-11-09 17:00:48 -05:00
parent 6300370046
commit 8acb7bd85a

View file

@ -61,7 +61,7 @@ lbryio.call = function(resource, action, params = {}, method = "get") {
function makeRequest(url, options) {
return fetch(url, options).then(checkStatus).then(parseJSON).catch(e => {
throw new e();
throw e;
});
}