mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 12:32:52 +00:00
Catch any kind of exception in Editor::onProcessMessage()
This commit is contained in:
parent
19d2713d8f
commit
4dbff50f1e
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user