add more logging to exit

This commit is contained in:
Lion Kortlepel
2024-09-23 22:08:45 +02:00
parent c68cbf8946
commit 02465c529d
3 changed files with 4 additions and 2 deletions

View File

@@ -55,5 +55,6 @@ int main(int argc, char** argv) try {
} catch (const std::exception& e) {
error(std::string("Exception in main(): ") + e.what());
info("Closing in 5 seconds");
info("If this keeps happening, contact us on either: Forum: https://forum.beammp.com, Discord: https://discord.gg/beammp");
std::this_thread::sleep_for(std::chrono::seconds(5));
}