forked from External/mage
GUI: added new error dialog for more use cases
This commit is contained in:
parent
4f9c158c40
commit
bad782244f
2 changed files with 26 additions and 5 deletions
|
|
@ -1578,6 +1578,7 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
|||
// FIRST GUI CALL (create main window with all prepared frames, dialogs, etc)
|
||||
try {
|
||||
instance = new MageFrame();
|
||||
EDTExceptionHandler.registerMainApp(instance);
|
||||
} catch (Throwable e) {
|
||||
LOGGER.fatal("Critical error on start up, app will be closed: " + e.getMessage(), e);
|
||||
System.exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue