mirror of
https://github.com/iterate-ch/cyberduck.git
synced 2026-05-26 19:10:49 +00:00
Throw with suppressed in stack.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user