Catch any kind of exception in Editor::onProcessMessage()

This commit is contained in:
David Capello 2015-04-15 10:06:55 -03:00
parent 19d2713d8f
commit 4dbff50f1e

View File

@ -139,7 +139,7 @@ protected:
try { try {
return Editor::onProcessMessage(msg); return Editor::onProcessMessage(msg);
} }
catch (const LockedDocumentException& ex) { catch (const std::exception& ex) {
Console console; Console console;
Console::showException(ex); Console::showException(ex);
console.printf("\nInternal details:\n" console.printf("\nInternal details:\n"