Drop running booru fetch and alert on fetch error

This commit is contained in:
André Zanghelini
2025-10-15 03:04:48 -03:00
parent 450a1493fe
commit 40ba90df27
@@ -399,6 +399,9 @@ Singleton {
}
else if (xhr.readyState === XMLHttpRequest.DONE) {
console.log("[Booru] Request failed with status: " + xhr.status)
newResponse.message = root.failMessage
root.runningRequests--;
root.responses = [...root.responses, newResponse]
}
root.responseFinished()
}