mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-26 11:44:53 +00:00
Merge pull request #656 from rhymes/patch-1
Fix XHRUpload.js error handling
This commit is contained in:
commit
f727197a83
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ module.exports = class XHRUpload extends Plugin {
|
|||
|
||||
return resolve(file)
|
||||
} else {
|
||||
const body = opts.getResponseData(xhr)
|
||||
const body = opts.getResponseData(xhr.responseText, xhr)
|
||||
const error = buildResponseError(xhr, opts.getResponseError(xhr.responseText, xhr))
|
||||
|
||||
const response = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue