mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-05 16:03:30 +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
|
||||
// authentication or server-side errors.
|
||||
response = {
|
||||
error: `Upload aborted: HTTP ${this.xhr.status}`,
|
||||
error: `Upload aborted: ${this.xhr.statusText} (HTTP ${this.xhr.status})`,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue