From 6b2fe32838ce2aa2933318166b85ccc1203138bf Mon Sep 17 00:00:00 2001 From: Marius Date: Tue, 15 Oct 2024 09:36:08 +0200 Subject: [PATCH] tus: Avoid duplicate `upload-error` event (#5485) Fixes https://github.com/transloadit/uppy/issues/5473. --- packages/@uppy/tus/src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/@uppy/tus/src/index.ts b/packages/@uppy/tus/src/index.ts index 513cfa60e4..bdde8644e3 100644 --- a/packages/@uppy/tus/src/index.ts +++ b/packages/@uppy/tus/src/index.ts @@ -289,7 +289,6 @@ export default class Tus extends BasePlugin< this.resetUploaderReferences(file.id) queuedRequest?.abort() - this.uppy.emit('upload-error', file, err) if (typeof opts.onError === 'function') { opts.onError(err) }