[ArchiveTools] Don't log archive open errors for getting archive type

This commit is contained in:
Matt Nadareski
2016-06-16 12:51:35 -07:00
parent dbb6c936c0
commit 0534d24c76

View File

@@ -460,9 +460,9 @@ namespace SabreTools.Helper
reader = ReaderFactory.Open(File.OpenRead(input)); reader = ReaderFactory.Open(File.OpenRead(input));
outtype = reader.ArchiveType; outtype = reader.ArchiveType;
} }
catch (Exception ex) catch (Exception)
{ {
logger.Error(ex.ToString()); // Don't log archive open errors
} }
finally finally
{ {