Fix the replay editor now showing non-IO exceptions during processing

Instead it just froze which is unhelpful if people don't look at the log.
This commit is contained in:
Jonas Herzig
2019-06-17 11:52:03 +02:00
parent d417c58d00
commit e59b5db859

View File

@@ -158,7 +158,7 @@ public class GuiEditReplay extends AbstractGuiPopup<GuiEditReplay> {
try {
MarkerProcessor.apply(inputPath, progressPopup.progressBar::setProgress);
} catch (IOException e) {
} catch (Throwable e) {
Utils.error(ReplayModEditor.LOGGER, this, CrashReport.create(e, "Running marker processor"), this::close);
}