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:
@@ -158,7 +158,7 @@ public class GuiEditReplay extends AbstractGuiPopup<GuiEditReplay> {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
MarkerProcessor.apply(inputPath, progressPopup.progressBar::setProgress);
|
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);
|
Utils.error(ReplayModEditor.LOGGER, this, CrashReport.create(e, "Running marker processor"), this::close);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user