summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-13 20:52:09 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-13 20:52:09 -0400
commite626e5817e66f1133d125ab49866b8a0475dde07 (patch)
tree5926277e1236b55a07a878009faf91c9145dd586
parent2b9703f98fedcf97fd5e511f1e30bcc8fd94b5cc (diff)
downloadSMAPI-e626e5817e66f1133d125ab49866b8a0475dde07.tar.gz
SMAPI-e626e5817e66f1133d125ab49866b8a0475dde07.tar.bz2
SMAPI-e626e5817e66f1133d125ab49866b8a0475dde07.zip
tweak Harmony patch error (#711)
-rw-r--r--src/SMAPI/Framework/RewriteFacades/HarmonyInstanceMethods.cs2
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);
}
}
}