Write setting file path to log

This commit is contained in:
Jaex 2020-05-07 11:47:12 +03:00
parent 14b9491664
commit 87d39b0ec6

View file

@ -159,7 +159,7 @@ private bool SaveInternal(string filePath)
if (!JsonHelpers.QuickVerifyJsonFile(tempFilePath)) if (!JsonHelpers.QuickVerifyJsonFile(tempFilePath))
{ {
throw new Exception($"{typeName} file is corrupt."); throw new Exception($"{typeName} file is corrupt: {tempFilePath}");
} }
if (File.Exists(filePath)) if (File.Exists(filePath))