Skip to content

Commit fa0a730

Browse files
author
emmanue1
committed
Catch exception thrown by assert in 'Save All Sources'
1 parent 074f547 commit fa0a730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/org/jd/gui/controller/SaveAllSourcesController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public void show(ScheduledExecutorService executor, SourcesSavable savable, File
6969
if (cancel) {
7070
Files.deleteIfExists(path);
7171
}
72-
} catch (IOException e) {
73-
assert ExceptionUtil.printStackTrace(e);
72+
} catch (Throwable t) {
73+
assert ExceptionUtil.printStackTrace(t);
7474
}
7575

7676
saveAllSourcesView.hide();

0 commit comments

Comments
 (0)