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
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}