diff --git a/megamek/src/megamek/logging/MMLogger.java b/megamek/src/megamek/logging/MMLogger.java index 4017203367..88d5e10c02 100644 --- a/megamek/src/megamek/logging/MMLogger.java +++ b/megamek/src/megamek/logging/MMLogger.java @@ -155,6 +155,13 @@ public void error(String message) { */ public void error(Throwable exception, String message, String title) { error(exception, message); + + try { + JOptionPane.showMessageDialog(null, message, title, JOptionPane.ERROR_MESSAGE); + } + catch (Exception ignored) { + // if the message dialog crashes, we don't really care + } } /** @@ -166,6 +173,7 @@ public void error(Throwable exception, String message, String title) { */ public void error(String message, String title) { error(message); + try { JOptionPane.showMessageDialog(null, message, title, JOptionPane.ERROR_MESSAGE); }