diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-13 20:52:09 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-13 20:52:09 -0400 |
commit | e626e5817e66f1133d125ab49866b8a0475dde07 (patch) | |
tree | 5926277e1236b55a07a878009faf91c9145dd586 /src/SMAPI/Framework | |
parent | 2b9703f98fedcf97fd5e511f1e30bcc8fd94b5cc (diff) | |
download | SMAPI-e626e5817e66f1133d125ab49866b8a0475dde07.tar.gz SMAPI-e626e5817e66f1133d125ab49866b8a0475dde07.tar.bz2 SMAPI-e626e5817e66f1133d125ab49866b8a0475dde07.zip |
tweak Harmony patch error (#711)
Diffstat (limited to 'src/SMAPI/Framework')
-rw-r--r-- | src/SMAPI/Framework/RewriteFacades/HarmonyInstanceMethods.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |