From 0b098252186613556c59dcddd5229611aad0577c Mon Sep 17 00:00:00 2001 From: beirich Date: Wed, 6 Jul 2011 02:16:44 +0000 Subject: [PATCH] show config crashes so we can debug them --- BizHawk.MultiClient/ConfigService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BizHawk.MultiClient/ConfigService.cs b/BizHawk.MultiClient/ConfigService.cs index 34678dff1b..08106a7de8 100644 --- a/BizHawk.MultiClient/ConfigService.cs +++ b/BizHawk.MultiClient/ConfigService.cs @@ -1,4 +1,6 @@ -using System.IO; +using System; +using System.IO; +using System.Windows.Forms; using Newtonsoft.Json; namespace BizHawk.MultiClient @@ -20,7 +22,7 @@ namespace BizHawk.MultiClient config = (T)s.Deserialize(r, typeof(T)); } } - catch { } + catch (Exception e) { MessageBox.Show(e.ToString()); } if (config == null) return new T(); else return config; }