catch wml errors in the editor
This commit is contained in:
parent
5ca96f1d58
commit
a489f5a90c
1 changed files with 2 additions and 0 deletions
|
@ -285,6 +285,8 @@ EXIT_STATUS editor_controller::main_loop()
|
|||
} catch (editor_exception& e) {
|
||||
gui2::show_transient_message(gui().video(), _("Fatal error"), e.what());
|
||||
return EXIT_ERROR;
|
||||
} catch (twml_exception& e) {
|
||||
e.show(gui());
|
||||
}
|
||||
return quit_mode_;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue