This commit is contained in:
Serge
2024-02-28 23:39:18 +01:00
parent 3b54e89d8e
commit f0da110a83

View File

@@ -67,9 +67,17 @@ public static class AppConfig
{
File.WriteAllText(backup, jsonString);
}
catch (Exception ex)
catch (Exception)
{
Logger.WriteLine(ex.ToString());
Thread.Sleep(100);
try
{
File.WriteAllText(backup, jsonString);
}
catch (Exception ex)
{
Logger.WriteLine(ex.Message);
}
return;
}