Merge pull request #4435 from thelounge/bookworm/uploadErr
upload: improve error message
This commit is contained in:
commit
acf520bd9a
@ -208,7 +208,7 @@ class Uploader {
|
|||||||
// if there is still data to be uploaded. Servers will only error in extreme cases like bad
|
// if there is still data to be uploaded. Servers will only error in extreme cases like bad
|
||||||
// authentication or server-side errors.
|
// authentication or server-side errors.
|
||||||
response = {
|
response = {
|
||||||
error: `Upload aborted: HTTP ${this.xhr.status}`,
|
error: `Upload aborted: ${this.xhr.statusText} (HTTP ${this.xhr.status})`,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user