make the error message on json deserialize fail slightly more informative

This commit is contained in:
goyuken 2013-07-17 21:08:33 +00:00
parent 5903cfbe48
commit 6c57b723a2
1 changed files with 1 additions and 1 deletions

View File

@ -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