Skip to content

fix: log HybridFile stream close errors with LOG.error - #4727

Merged
EmmanuelMess merged 1 commit into
TeamAmaze:release/4.0from
wized2:fix/hybridfile-log-close-stream
Sep 23, 2026
Merged

EmmanuelMess merged 1 commit into
TeamAmaze:release/4.0from
wized2:fix/hybridfile-log-close-stream

Conversation

@wized2

@wized2 wized2 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Summary

In HybridFile, closing the SFTP read-ahead stream used e.printStackTrace(). Use existing LOG.error(..., e) instead.

Base branch: release/4.0 (per @EmmanuelMess on #4726).

Note: other printStackTrace hits in CloudStreamServer are inside comments only; ErrorActivity uses printStackTrace(PrintWriter) for crash report text and is intentional.

Fixes #2755

Replace e.printStackTrace() when closing SFTP read-ahead streams.
Matches existing SLF4J usage in HybridFile.

Fixes TeamAmaze#2755
@EmmanuelMess EmmanuelMess added the PR-Code-Review-Passed The human code review has passed for this PR. label Sep 21, 2026
@EmmanuelMess
EmmanuelMess merged commit 94afab3 into TeamAmaze:release/4.0 Sep 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-Code-Review-Passed The human code review has passed for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace e.printStackTrace() with Log.e(TAG, "Error on ...", e);

3 participants