Skip to content

Commit

Permalink
Ensure exceptions get annotated as well
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKahr committed Nov 7, 2023
1 parent 641bce6 commit 192fafe
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ private static void Application_logMessageReceived(string condition, string stac
case LogType.Warning:
prefix = "warning";
break;
case LogType.Exception:
prefix = "error";
break;
}
Debug.Log($"::{prefix} ::{condition}\n{stackTrace}");
}
Expand Down

0 comments on commit 192fafe

Please sign in to comment.