-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved error-handling in S3 completion callback (#504)
- Always invoke the completion callback, even if we failed to turn the error_response_headers into a PyObject. These headers are optional anyway. - Use nice new error code AWS_ERROR_FILE_WRITE_FAILURE if file write fails. - Raise error if file close fails, because that probably means it failed to flush the buffers to disk.
- Loading branch information
Showing
2 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters