tomitrescak/meteor-uploads

Validate request error message

Opened this issue · 3 comments

I'm not displaying a full progress bar, instead I'm showing a small drop area for the file upload. If there is an error it won't show since the area is so small. How can I catch the error? I want to be able to use an alert or growl style message to show the user the error.

Hi
I have the same question: is there callback on server error? The finished callback is only called on success.
Mark

Thanks @tomitrescak
But how can I access that error message? I see the error message returned in the xhr response. But I can't see a way to access that response (when using dropzone).
All tips greatly appreciated.
Thanks