mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-07 07:26:05 +12:00
Write setting file path to log
This commit is contained in:
parent
14b9491664
commit
87d39b0ec6
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue