Adjust file loading so error exceptions can properly be viewed.
This commit is contained in:
parent
488b689c27
commit
c67be3b5bd
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user