forked from rosebudai/OpenRCT2-Web
Log actual error when loading a title sequence park fails
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user