|
@@ -217,6 +217,7 @@ module.exports = class XHRUpload extends Plugin {
|
|
|
|
|
|
const timer = new ProgressTimeout(opts.timeout, () => {
|
|
|
xhr.abort()
|
|
|
+ queuedRequest.done()
|
|
|
const error = new Error(this.i18n('timedOut', { seconds: Math.ceil(opts.timeout / 1000) }))
|
|
|
this.uppy.emit('upload-error', file, error)
|
|
|
reject(error)
|