Improved logging. Updated nuget packages

This commit is contained in:
Robert McRackan committed 2019-11-26 10:42:38 -05:00
1 parent 7a4bd639fb
commit 1cecd4ba2e
17 files changed
+100 -59

No files matched your search

+3 -3
View File
@@ -83,9 +83,9 @@ namespace FileManager
catch (IOException)
{
try { resave(); }
catch (IOException)
{
Console.WriteLine("...that's not good");
catch (IOException ex)
{
Serilog.Log.Logger.Error(ex, "Error saving FilePaths.json");
throw;
}
}
+6 -6
View File
@@ -105,12 +105,12 @@ namespace FileManager
catch (IOException)
{
try { resave(); }
catch (IOException)
{
Console.WriteLine("...that's not good");
throw;
}
}
catch (IOException ex)
{
Serilog.Log.Logger.Error(ex, "Error saving QuickFilters.json");
throw;
}
}
}
}
}