mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Prevent invalid chunk message when loading SC4
Exception messages were being logged when classifying the file type. This is generally unwanted as it will happen in normal cicumstances.
This commit is contained in:
@@ -89,7 +89,8 @@ static bool TryClassifyAsS6(IStream * stream, ClassifiedFileInfo * result)
|
||||
}
|
||||
catch (const Exception& e)
|
||||
{
|
||||
Console::Error::WriteLine(e.GetMessage());
|
||||
// Exceptions are likely to occur if file is not S6 format
|
||||
log_verbose(e.GetMessage());
|
||||
}
|
||||
stream->SetPosition(originalPosition);
|
||||
return success;
|
||||
|
||||
Reference in New Issue
Block a user