Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xhr-upload retry upload bundle throws "error uncaught in promise" #1977

Closed
BePo65 opened this issue Dec 7, 2019 · 1 comment
Closed

xhr-upload retry upload bundle throws "error uncaught in promise" #1977

BePo65 opened this issue Dec 7, 2019 · 1 comment
Assignees
Labels
Bug Stale Old issues that haven't had activity recently XHR Upload

Comments

@BePo65
Copy link
Contributor

BePo65 commented Dec 7, 2019

I'm using uppy 1.6.0 in an angular 8 project. To upload to my server I use the xhr plugin together with uppy-dashboard.
The Upload uses "bundle=true".
When the server returns an error everything runs fine and the dashboard shows the "retry" button.
But when the server stil returns an error on retry, I get an "error uncaught in promise" message in the browser console. This effect is independant of angular as can be seen on my sandbox example (https://codesandbox.io/s/blue-cache-gzqbl).

I tried to find out if / where a catch is missing but got lost in the nested then / catch.
in "_runUpload" the line "this.emit('error', err, uploadID)" gets executed, but then the uncaught error strikes,

Without "bundle=true" all runs fine.

Any help appreciated :-)

Log-of-error-Uppy-Retry

@stale
Copy link

stale bot commented Jan 18, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale Old issues that haven't had activity recently label Jan 18, 2021
@stale stale bot closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Stale Old issues that haven't had activity recently XHR Upload
Projects
None yet
Development

No branches or pull requests

3 participants