actually fix api.lbry.io errors getting swallowed
This commit is contained in:
parent
6300370046
commit
8acb7bd85a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue