diff --git a/Common.ruleset b/Common.ruleset index ec6c561a34..b28bc6ec93 100644 --- a/Common.ruleset +++ b/Common.ruleset @@ -270,7 +270,7 @@ - + diff --git a/src/BizHawk.Client.Common/XmlGame.cs b/src/BizHawk.Client.Common/XmlGame.cs index ac109183a7..0e8d97f307 100644 --- a/src/BizHawk.Client.Common/XmlGame.cs +++ b/src/BizHawk.Client.Common/XmlGame.cs @@ -90,9 +90,9 @@ namespace BizHawk.Client.Common data = File.ReadAllBytes(fullPath.Split('|').First()); } } - catch + catch (Exception e) { - throw new Exception($"Couldn't load XMLGame LoadAsset \"{filename}\""); + throw new Exception($"Couldn't load XMLGame LoadAsset \"{filename}\"", e); } }