filestack / filestack-js

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

Are files passed to dropPane's `onError` instead of the error? #314

Open IanVS opened 4 years ago

IanVS commented 4 years ago

The docs (https://github.com/filestack/filestack-js/blob/6987bc691d861296a8f3b186ae90a1f69fd4d230/src/lib/picker.ts#L223) say that the files are passed to the onError callback, is that correct? If so, how does one get any information about the error that occurred?

pcholuj commented 4 years ago

This error calls only when file/s are not uploaded correctly ie. There is some problems with the netowrk