mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix a couple more logging statements
This commit is contained in:
@@ -54,7 +54,7 @@ namespace SabreTools.DatTools
|
|||||||
// Ensure the output directory is set and created
|
// Ensure the output directory is set and created
|
||||||
outDir = outDir.Ensure(create: true);
|
outDir = outDir.Ensure(create: true);
|
||||||
|
|
||||||
InternalStopwatch watch = new InternalStopwatch($"Writing out internal dat to {outDir}");
|
InternalStopwatch watch = new InternalStopwatch($"Writing out internal dat to '{outDir}'");
|
||||||
|
|
||||||
// If the DAT has no output format, default to XML
|
// If the DAT has no output format, default to XML
|
||||||
if (datFile.Header.DatFormat == 0)
|
if (datFile.Header.DatFormat == 0)
|
||||||
@@ -87,7 +87,7 @@ namespace SabreTools.DatTools
|
|||||||
}
|
}
|
||||||
catch (Exception ex) when (!throwOnError)
|
catch (Exception ex) when (!throwOnError)
|
||||||
{
|
{
|
||||||
logger.Error(ex, $"Datfile {outfile} could not be written out");
|
logger.Error(ex, $"Datfile '{outfile}' could not be written out");
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user