From 33a7f16d7f6f7d0be58fb5ac77dcb84934114d48 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 3 Jul 2018 17:49:38 +0300 Subject: Embedded StubsView in Stubs UI. --- Software/Visual_Studio/Tango.Settings/SettingsManager.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Software/Visual_Studio/Tango.Settings') 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)); -- cgit v1.3.1