Catch all JsonException when reading json config files
MODIFY
WalletWasabi/Bases/ConfigBase.cs
WalletWasabi/Bases/ConfigBase.cs
@@ -68,7 +68,7 @@ namespace WalletWasabi.Bases
{
await LoadFileAsync();
}
- catch (JsonReaderException)
+ catch (JsonException)
{
Logger.LogInfo($"{GetType().Name} file has been deleted because it was corrupted. Recreated default version at path: `{FilePath}`.");
}

Catch all JsonException when reading json config files