summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-02-23 23:05:46 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-02-23 23:05:46 -0500
commit3005270437f609bb14be9da67e3ffadabd8685a3 (patch)
treed34abce486361b2b05af3856b1fcc29e03b9d89e /src
parent6a18dd6fadaea7d72ce9ef4e2752c669c4f6420b (diff)
downloadSMAPI-3005270437f609bb14be9da67e3ffadabd8685a3.tar.gz
SMAPI-3005270437f609bb14be9da67e3ffadabd8685a3.tar.bz2
SMAPI-3005270437f609bb14be9da67e3ffadabd8685a3.zip
shorten mod path in error messages
Diffstat (limited to 'src')
-rw-r--r--src/StardewModdingAPI/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs
index eadbaaeb..9a6f07ef 100644
--- a/src/StardewModdingAPI/Program.cs
+++ b/src/StardewModdingAPI/Program.cs
@@ -355,7 +355,7 @@ namespace StardewModdingAPI
this.Monitor.Log($"Ignored folder \"{directory.Name}\" which doesn't have a manifest.json.", LogLevel.Warn);
continue;
}
- string errorPrefix = $"Couldn't load mod for manifest '{manifestPath}'";
+ string errorPrefix = $"Couldn't load mod for '{manifestPath.Replace(this.ModPath, "").Trim('/', '\\')}'";
// read manifest
Manifest manifest;