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

fix(source-aws): prevent s3 client from being logged when errors are thrown #1475

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

blacha
Copy link
Owner

@blacha blacha commented Aug 22, 2024

Motivation

The source object is thrown when errors happen such as when a read fails. If this error is logged then the soruce.client is also logged and logging the entire S3 client is huge.

Modification

Prevent the S3 object from being visible for loggers

@blacha blacha merged commit d146aa1 into master Aug 22, 2024
4 checks passed
@blacha blacha deleted the fix/s3-client-logging branch August 22, 2024 00:17
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

Successfully merging this pull request may close these issues.

1 participant