mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Fix error not being shown in import meta alert
This commit is contained in:
parent
c26c6ab220
commit
46a4bfbcff
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user