Skip to content

fix(s3-source): Log full stack trace in S3ObjectWorker buffer write error#7015

Merged
graytaylor0 merged 1 commit into
opensearch-project:mainfrom
graytaylor0:s3-object-worker-stacktrace
Jul 21, 2026
Merged

fix(s3-source): Log full stack trace in S3ObjectWorker buffer write error#7015
graytaylor0 merged 1 commit into
opensearch-project:mainfrom
graytaylor0:s3-object-worker-stacktrace

Conversation

@graytaylor0

@graytaylor0 graytaylor0 commented Jul 21, 2026

Copy link
Copy Markdown
Member

The existing error log only prints e.getMessage() which is null for exceptions like NullPointerException, making the error impossible to diagnose. Log the full exception with stack trace instead.

Issues Resolved

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…rror

Signed-off-by: Taylor Gray <tylgry@amazon.com>
The existing error log only prints e.getMessage() which is null for
exceptions like NullPointerException, making the error impossible to
diagnose. Log the full exception with stack trace instead.
@graytaylor0
graytaylor0 merged commit 3f18aab into opensearch-project:main Jul 21, 2026
71 of 72 checks passed
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.

3 participants