Catch exception thrown by assert in 'Save All Sources'

This commit is contained in:
emmanue1 2019-04-10 23:56:40 +02:00
parent 074f54742c
commit fa0a730e51

View File

@ -69,8 +69,8 @@ public class SaveAllSourcesController implements SourcesSavable.Controller, Sour
if (cancel) {
Files.deleteIfExists(path);
}
} catch (IOException e) {
assert ExceptionUtil.printStackTrace(e);
} catch (Throwable t) {
assert ExceptionUtil.printStackTrace(t);
}
saveAllSourcesView.hide();