1
0
mirror of synced 2024-11-28 01:10:51 +01:00

Adjust file loading so error exceptions can properly be viewed.

This commit is contained in:
KillzXGaming 2022-03-25 16:48:45 -04:00
parent 488b689c27
commit c67be3b5bd

View File

@ -185,9 +185,6 @@ namespace Toolbox.Library.IO
if (stream.Length < 8) return null;
//Try catch incase it fails, continute to load the file anyways if the check may be false
try
{
//Check all supported compression formats and decompress. Then loop back
if (!Compressed)
{
@ -208,11 +205,6 @@ namespace Toolbox.Library.IO
}
}
}
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
}
stream.Position = streamStartPos;
foreach (IFileFormat fileFormat in FileManager.GetFileFormats())