Log actual error when loading a title sequence park fails

This commit is contained in:
Gymnasiast committed 2026-02-24 14:10:48 +01:00
1 parent 6a2751835c
commit 4aa62e6457
1 file changed
+2 -2
@@ -339,9 +339,9 @@ namespace OpenRCT2::Title
_initialLoadCommand = false;
success = true;
}
catch (const std::exception&)
catch (const std::exception& e)
{
Console::Error::WriteLine("Unable to load park: %s", path.c_str());
Console::Error::WriteLine("Unable to load park ‘%s’: %s", path.c_str(), e.what());
GetContext()->CloseProgress();
}