From 6c57b723a2a5d4df58a86e431f6e9988a58c850b Mon Sep 17 00:00:00 2001 From: goyuken Date: Wed, 17 Jul 2013 21:08:33 +0000 Subject: [PATCH] make the error message on json deserialize fail slightly more informative --- BizHawk.MultiClient/ConfigService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/ConfigService.cs b/BizHawk.MultiClient/ConfigService.cs index e701ef2945..86956dcd05 100644 --- a/BizHawk.MultiClient/ConfigService.cs +++ b/BizHawk.MultiClient/ConfigService.cs @@ -23,7 +23,7 @@ namespace BizHawk.MultiClient config = (T)s.Deserialize(r, typeof(T)); } } - catch (Exception e) { MessageBox.Show(e.ToString()); } + catch (Exception e) { MessageBox.Show(e.ToString(), "Config Error"); } if (config == null) return new T(); //patch up arrays in the config with the minimum number of things