Print on unknown exception

This commit is contained in:
momo5502
2025-08-10 08:40:29 +02:00
parent b980ff6277
commit 74bff93580

View File

@@ -685,10 +685,10 @@ namespace
catch (std::exception& e)
{
puts(e.what());
#if defined(_WIN32) && 0
MessageBoxA(nullptr, e.what(), "ERROR", MB_ICONERROR);
#endif
}
catch (...)
{
puts("An unknown exception occured");
}
return 1;