diff --git a/Source/FileManager/PersistentDictionary.cs b/Source/FileManager/PersistentDictionary.cs index 53e87c9a..47bb7687 100644 --- a/Source/FileManager/PersistentDictionary.cs +++ b/Source/FileManager/PersistentDictionary.cs @@ -179,6 +179,7 @@ namespace FileManager } catch (Exception exDebug) { + Serilog.Log.Logger.Debug(exDebug, "Silent failure"); return false; } diff --git a/Source/_Tests/AudibleUtilities.Tests/AccountTests.cs b/Source/_Tests/AudibleUtilities.Tests/AccountTests.cs index 2c93bd48..ca2081a4 100644 --- a/Source/_Tests/AudibleUtilities.Tests/AccountTests.cs +++ b/Source/_Tests/AudibleUtilities.Tests/AccountTests.cs @@ -23,7 +23,7 @@ namespace AccountsTests { public class AccountsTestBase { - protected const string EMPTY_FILE = "{\r\n \"Accounts\": []\r\n}"; + protected string EMPTY_FILE { get; } = "{\r\n \"Accounts\": []\r\n}".Replace("\r\n", Environment.NewLine); protected string TestFile; protected Locale usLocale => Localization.Get("us");