filestack / filestack-js

Official Javascript SDK for the Filestack API and content ingestion system.
https://www.filestack.com
MIT License
206 stars 76 forks source link

`onUploadDone` swallows errors #418

Closed sshaw closed 3 years ago

sshaw commented 3 years ago

Same as #353. It was never fixed. Still seeing it on 3.21.1.

To reproduce see https://github.com/filestack/filestack-js/issues/353#issuecomment-753568823

stephkoltun commented 3 years ago

Is there any version number that doesn't swallow the errors?

sshaw commented 3 years ago

Maybe before 3.15.0 but otherwise I don't know.

Just add a console.log(files) to your callback and when your code isn't working but an empty array is logged you know where to start looking 🙃

pcholuj commented 3 years ago

This should be fixed with latest release