Adjusted serverinfo, added message on premature image request end
This commit is contained in:
parent
64462f2202
commit
72efad0928
3 changed files with 12 additions and 9 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue