mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-18 22:26:35 +02:00
upload: improve error message
This commit is contained in:
parent
763047889d
commit
26c2562124
|
@ -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 a new issue