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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user