-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors not propagated when upload_file fails #89
Comments
I just made some tests locally using the commit previous to the mentioned PR and can confirm the bug was introduced on that merge. |
Hey @fidel-perez I've added a little change in the |
Thank you for this. We stopped focusing on this repo in my job so I think we can close the issue with your recent fix! |
When
s3.py
->upload_file
fails, the errors are not propagated because of concurrent execution.After reviewing the last repository changes, I believe this bug was introduced in the latest PR that was merged.
How to reproduce
You should get no errors, despite no file was uploaded to S3 (because of the miss configuration done on purpose).
I found the problem was in the upload_file method after trying adding this try/except to the code and finally being able to see where it was failing by using the print statement:
The text was updated successfully, but these errors were encountered: