1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Log exception when an error occurs

This commit is contained in:
Hielke Morsink
2022-05-29 08:30:42 +02:00
committed by GitHub
parent 999f76cfc8
commit c8df66fab9

View File

@@ -2298,8 +2298,9 @@ int32_t scenario_save(u8string_view path, int32_t flags)
parkFile->Save(path);
result = true;
}
catch (const std::exception&)
catch (const std::exception& e)
{
log_error(e.what());
}
gfx_invalidate_screen();