Skip to content
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

Log s3 bucket name and object key for failed requests #16

Open
goldmar opened this issue Jul 7, 2021 · 0 comments
Open

Log s3 bucket name and object key for failed requests #16

goldmar opened this issue Jul 7, 2021 · 0 comments

Comments

@goldmar
Copy link

goldmar commented Jul 7, 2021

When this library fails to retrieve an S3 object, it currently logs an error message with the exception. This exception contains a request id and an s3 extended request id, however it does not contain the name of the bucket and the object key that it was trying to retrieve.

Is it possible to add this context to the log and exception message? This data is already logged in the success case but not in the failure case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant