diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-14 00:23:48 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2018-12-14 00:23:48 -0500 |
commit | 8eee91c67db0f09e9c604c7b4a2809e5bc937258 (patch) | |
tree | b268ca048033f2ea3eb670773b6cf43e343d3760 | |
parent | 95b1dedb667d1fe2fd9ee89ece342bacbdd3be48 (diff) | |
download | SMAPI-8eee91c67db0f09e9c604c7b4a2809e5bc937258.tar.gz SMAPI-8eee91c67db0f09e9c604c7b4a2809e5bc937258.tar.bz2 SMAPI-8eee91c67db0f09e9c604c7b4a2809e5bc937258.zip |
fix game launch error logged as 'SMAPI'
-rw-r--r-- | docs/release-notes.md | 1 | ||||
-rw-r--r-- | src/SMAPI/Framework/SCore.cs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md index e51ff0a5..9df18098 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -4,6 +4,7 @@ * Fixed error when a mod makes invalid changes to an NPC schedule. * Fixed invalid NPC data propagated when a mod changes NPC dispositions. * Fixed `Display.RenderedWorld` event broken in SMAPI 2.9.1. + * Fixed game launch crash logged as `SMAPI` instead of `game`. * For modders: * Added dedicated content pack API. diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs index 3749bab4..e43d3f8b 100644 --- a/src/SMAPI/Framework/SCore.cs +++ b/src/SMAPI/Framework/SCore.cs @@ -315,7 +315,7 @@ namespace StardewModdingAPI.Framework } catch (Exception ex) { - this.Monitor.Log($"The game failed unexpectedly: {ex.GetLogSummary()}", LogLevel.Error); + this.MonitorForGame.Log($"The game failed to launch: {ex.GetLogSummary()}", LogLevel.Error); this.PressAnyKeyToExit(); } finally |