From e59b5db859a215b8bbee52d0530394a29f55e1b9 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Mon, 17 Jun 2019 11:52:03 +0200 Subject: [PATCH] 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. --- src/main/java/com/replaymod/editor/gui/GuiEditReplay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/replaymod/editor/gui/GuiEditReplay.java b/src/main/java/com/replaymod/editor/gui/GuiEditReplay.java index 245c5785..56b7e481 100644 --- a/src/main/java/com/replaymod/editor/gui/GuiEditReplay.java +++ b/src/main/java/com/replaymod/editor/gui/GuiEditReplay.java @@ -158,7 +158,7 @@ public class GuiEditReplay extends AbstractGuiPopup { 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); }