From 8acb7bd85aa78413e443fcd17b8a9a2ca090fc7a Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Thu, 9 Nov 2017 17:00:48 -0500 Subject: [PATCH] actually fix api.lbry.io errors getting swallowed --- ui/js/lbryio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/js/lbryio.js b/ui/js/lbryio.js index 4b244af4b..ece653546 100644 --- a/ui/js/lbryio.js +++ b/ui/js/lbryio.js @@ -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; }); }