Skip to content

Commit c874a2d

Browse files
authored
Fix missed exception unwrap revert (#89)
1 parent 348f896 commit c874a2d

File tree

1 file changed

+0
-4
lines changed
  • flows/src/main/java/com/softwaremill/jox/flows

1 file changed

+0
-4
lines changed

flows/src/main/java/com/softwaremill/jox/flows/Flow.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,10 +1676,6 @@ public void runToFile(Path path) throws Exception {
16761676
}
16771677
});
16781678
close(channel, null);
1679-
} catch (JoxScopeExecutionException e) {
1680-
Exception cause = (Exception) e.getCause();
1681-
close(channel, cause);
1682-
throw cause;
16831679
} catch (Exception t) {
16841680
close(channel, t);
16851681
throw t;

0 commit comments

Comments
 (0)