Merge pull request #3236 from thelounge/xpaw/abort-error-msg

Change upload abort error message
This commit is contained in:
Pavel Djundik 2019-05-25 14:59:32 +03:00 committed by GitHub
commit e71bd3a9a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,7 +147,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: "Connection aborted", error: `Upload aborted: HTTP ${xhr.status}`,
}; };
} }