Ensure exceptions get annotated as well

This commit is contained in:
Andrew Kahr 2023-11-06 23:37:13 -08:00
parent 641bce6ad2
commit 192fafe45b

View File

@ -25,6 +25,9 @@ namespace UnityBuilderAction.Reporting
case LogType.Warning: case LogType.Warning:
prefix = "warning"; prefix = "warning";
break; break;
case LogType.Exception:
prefix = "error";
break;
} }
Debug.Log($"::{prefix} ::{condition}\n{stackTrace}"); Debug.Log($"::{prefix} ::{condition}\n{stackTrace}");
} }