fix: log HybridFile stream close errors with LOG.error

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

Fixes TeamAmaze/AmazeFileManager#2755
This commit is contained in:
wized2
2026-09-21 01:54:59 +00:00
parent 77afe92d0b
commit 72f45c602a
@@ -1117,7 +1117,7 @@ public class HybridFile {
LOG.debug("Closing input stream for {}", getPath());
super.close();
} catch (Throwable e) {
e.printStackTrace();
LOG.error("Error closing input stream for {}", getPath(), e);
} finally {
LOG.debug("Closing client for {}", getPath());
rf.close();