diff options
Diffstat (limited to 'src/StardewModdingAPI/Inheritance')
-rw-r--r-- | src/StardewModdingAPI/Inheritance/SGame.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Inheritance/SGame.cs b/src/StardewModdingAPI/Inheritance/SGame.cs index 5484bfc2..93d56553 100644 --- a/src/StardewModdingAPI/Inheritance/SGame.cs +++ b/src/StardewModdingAPI/Inheritance/SGame.cs @@ -7,6 +7,7 @@ using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using StardewModdingAPI.Events; +using StardewModdingAPI.Framework; using StardewValley; using StardewValley.BellsAndWhistles; using StardewValley.Locations; @@ -334,7 +335,7 @@ namespace StardewModdingAPI.Inheritance } catch (Exception ex) { - this.Monitor.Log($"An error occured in the base update loop: {ex}", LogLevel.Error); + this.Monitor.Log($"An error occured in the base update loop: {ex.GetLogSummary()}", LogLevel.Error); Console.ReadKey(); } @@ -766,7 +767,7 @@ namespace StardewModdingAPI.Inheritance } catch (Exception ex) { - this.Monitor.Log($"An error occured in the overridden draw loop: {ex}", LogLevel.Error); + this.Monitor.Log($"An error occured in the overridden draw loop: {ex.GetLogSummary()}", LogLevel.Error); } if (SGame.Debug) |