bradleyg / django-s3direct

Directly upload files to S3 compatible services with Django.
MIT License
661 stars 234 forks source link

No error on file upload fail ? #125

Closed Brakkar closed 5 years ago

Brakkar commented 7 years ago

I tried to set a wrong aws credential to see how it would behave. Uploaded file fails to upload, but there is no error message, nothing. Just black upload bar. I'm testing on macos + safari.

Is there any callback, signal to intercept when an upload goes wrong ? What is supposed to happen ?

ByrdOfAFeather commented 7 years ago

There should be a forbidden error in the Javascript console I believe. I'm not sure how Safari's Inspect element works, but Vivaldi caught the error and displayed it. You could probably handle it in the section of an overloaded admin template file.