1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

juceaide: Improve error logging

This commit is contained in:
Tom Poole 2023-12-13 13:13:54 +00:00
parent 627d01b9a2
commit 780493c47b
2 changed files with 9 additions and 1 deletions

View file

@ -570,5 +570,13 @@ int main (int argc, char** argv)
{
juce::ConsoleApplication::fail (error.message);
}
catch (const std::exception& ex)
{
juce::ConsoleApplication::fail (ex.what());
}
catch (...)
{
juce::ConsoleApplication::fail ("Unhandled exception");
}
});
}