catch all exceptions and show them as unexpected errors
This commit is contained in:
1 parent
4ac46f8c9d
commit
5d6d390f77
1 file changed
+4
@@ -239,6 +239,10 @@ int main(int argc, char **argv)
|
||||
{
|
||||
Statusbar::printf("Error: %1%", e.errorMessage());
|
||||
}
|
||||
catch (std::exception &e)
|
||||
{
|
||||
Statusbar::printf("Unexpected error: %1%", e.what());
|
||||
}
|
||||
|
||||
if (myScreen == myPlaylist)
|
||||
myPlaylist->EnableHighlighting();
|
||||
|
||||
Reference in new issue
Block a user