Fix a few stragglers

This commit is contained in:
Matt Nadareski
2020-09-15 14:46:39 -07:00
parent fc580c7d35
commit 74a0c47102
3 changed files with 36 additions and 61 deletions

View File

@@ -66,9 +66,7 @@ namespace SabreTools.Library.DatFiles
catch (InvalidDataException ex)
{
Globals.Logger.Warning($"Malformed line found in '{filename}' at line {svr.LineNumber}");
if (Globals.ThrowOnError)
throw ex;
if (throwOnError) throw ex;
continue;
}