diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Settings')
| -rw-r--r-- | Software/Visual_Studio/Tango.Settings/SettingsManager.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Settings/SettingsManager.cs b/Software/Visual_Studio/Tango.Settings/SettingsManager.cs index 34ac2ddfe..cd8b97c92 100644 --- a/Software/Visual_Studio/Tango.Settings/SettingsManager.cs +++ b/Software/Visual_Studio/Tango.Settings/SettingsManager.cs @@ -63,6 +63,11 @@ namespace Tango.Settings { TypeNameHandling = TypeNameHandling.All, Formatting = Formatting.Indented, + Error = (sender, args) => + { + args.ErrorContext.Handled = true; + Logging.LogManager.Default.Log(args.ErrorContext.Error.Message); + } }; _jsonSettings.Converters.Add(new StringEnumConverter(false)); |
