summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-12-29 23:58:54 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-12-29 23:58:54 -0500
commit06c7e4e2b92849858002835ed41c7e9cce60fde4 (patch)
tree09e8c422c177dbd868ce9cee59528865f86842c6 /src/SMAPI/Framework/SCore.cs
parent48bb1581a6adeabfefbdd774011796e09a07aae2 (diff)
downloadSMAPI-06c7e4e2b92849858002835ed41c7e9cce60fde4.tar.gz
SMAPI-06c7e4e2b92849858002835ed41c7e9cce60fde4.tar.bz2
SMAPI-06c7e4e2b92849858002835ed41c7e9cce60fde4.zip
show details in TRACE logs when a mod is blocked by compatibility list
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index e05213f0..27540442 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -1532,7 +1532,7 @@ namespace StardewModdingAPI.Framework
// validate status
if (mod.Status == ModMetadataStatus.Failed)
{
- this.Monitor.Log($" Failed: {mod.Error}");
+ this.Monitor.Log($" Failed: {mod.ErrorDetails ?? mod.Error}");
failReason = mod.FailReason;
errorReasonPhrase = mod.Error;
return false;