You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library works great, but I'm noticing that, while using the DirectUploadProvider if one of my uploads receives an error response from the server, the ready prop remains false.
I believe it is do to the fact that the Promise.all rejects and then uploading: false is never set
Perhaps I'm missing a prop or an approach to handle this case - has anyone else ran into this? Perhaps there should be an onError function that can call during the direct upload if one of the uploads fails.
The text was updated successfully, but these errors were encountered:
The library works great, but I'm noticing that, while using the
DirectUploadProvider
if one of my uploads receives an error response from the server, the ready prop remains false.I believe it is do to the fact that the
Promise.all
rejects and thenuploading: false
is never setreact-activestorage-provider/src/DirectUploadProvider.js
Line 90 in 6be6084
Perhaps I'm missing a prop or an approach to handle this case - has anyone else ran into this? Perhaps there should be an
onError
function that can call during the direct upload if one of the uploads fails.The text was updated successfully, but these errors were encountered: