forked from rosebudai/OpenRCT2-Web
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:
1 parent
b38123924a
commit
d14dce2b95
1 file changed
+2
-1
@@ -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