From e626e5817e66f1133d125ab49866b8a0475dde07 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 13 May 2020 20:52:09 -0400 Subject: tweak Harmony patch error (#711) --- src/SMAPI/Framework/RewriteFacades/HarmonyInstanceMethods.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SMAPI/Framework') diff --git a/src/SMAPI/Framework/RewriteFacades/HarmonyInstanceMethods.cs b/src/SMAPI/Framework/RewriteFacades/HarmonyInstanceMethods.cs index aad62c9b..995a40d6 100644 --- a/src/SMAPI/Framework/RewriteFacades/HarmonyInstanceMethods.cs +++ b/src/SMAPI/Framework/RewriteFacades/HarmonyInstanceMethods.cs @@ -43,7 +43,7 @@ namespace StardewModdingAPI.Framework.RewriteFacades if (transpiler != null) patchTypes.Add("transpiler"); - throw new Exception($"Failed applying {string.Join("/", patchTypes)} to method {original.DeclaringType?.FullName}.{original.Name}", ex); + throw new Exception($"Harmony instance {this.Id} failed applying {string.Join("/", patchTypes)} to method {original.DeclaringType?.FullName}.{original.Name}.", ex); } } } -- cgit