Skip to content

Commit

Permalink
Fix stack trace logging for UMM
Browse files Browse the repository at this point in the history
  • Loading branch information
WittleWolfie committed Sep 10, 2022
1 parent e1e5136 commit 2af7394
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MewsiferConsole.Mod/UMMLogging/UMMLogSink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ private static LogEvent CreateLogEvent(
var stackTrace = new List<string>();
while (ex is not null)
{
stackTrace.Add(ex.Message);
if (ex.StackTrace is not null)
{
stackTrace.AddRange(
Expand Down

0 comments on commit 2af7394

Please sign in to comment.