Adjusted serverinfo, added message on premature image request end

This commit is contained in:
Essem 2022-01-12 19:48:58 -06:00
parent 64462f2202
commit 72efad0928
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
3 changed files with 12 additions and 9 deletions

View file

@ -90,7 +90,7 @@ class ImageConnection {
async onClose() {
for (const promise of this.requests.values()) {
promise.reject(new Error("Request ended prematurely due to a closed connection"));
promise.reject("Request ended prematurely due to a closed connection");
}
this.requests.clear();
if (!this.disconnected) {