fix api.lbry.io errors getting swallowed
This commit is contained in:
parent
3b1f63d98f
commit
6300370046
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 Error(__("Something went wrong making an internal API call."));
|
||||
throw new e();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue