From 46a4bfbcff076c0d34b9e209a5f518547b3c5b40 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 14 May 2018 13:54:29 +0100 Subject: [PATCH] Fix error not being shown in import meta alert --- app/static/polltask.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/polltask.js b/app/static/polltask.js index 8687665..18a81a4 100644 --- a/app/static/polltask.js +++ b/app/static/polltask.js @@ -33,7 +33,7 @@ function pollTask(poll_url, disableTimeout) { console.log("Got result") resolve(res.result) } else if (res.status == "FAILURE" || res.status == "REVOKED") { - reject() + reject(res.error || "Unknown server error") } else { retry() }