Throw with suppressed in stack.

This commit is contained in:
David Kocher
2026-05-19 11:55:19 +02:00
parent 129b5d90ba
commit cd5137c080
@@ -102,8 +102,9 @@ public class SMBWriteFeature implements Write<Void> {
try { try {
session.releaseShare(share); session.releaseShare(share);
} }
catch(BackgroundException ignored) { catch(BackgroundException r) {
// Ignore r.addSuppressed(e);
throw e;
} }
throw e; throw e;
} }