Fix error not being shown in import meta alert

This commit is contained in:
rubenwardy 2018-05-14 13:54:29 +01:00
parent c26c6ab220
commit 46a4bfbcff
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C

@ -33,7 +33,7 @@ function pollTask(poll_url, disableTimeout) {
console.log("Got result") console.log("Got result")
resolve(res.result) resolve(res.result)
} else if (res.status == "FAILURE" || res.status == "REVOKED") { } else if (res.status == "FAILURE" || res.status == "REVOKED") {
reject() reject(res.error || "Unknown server error")
} else { } else {
retry() retry()
} }