From 192fafe45b98d8bec70357e74d5b4b228777745b Mon Sep 17 00:00:00 2001 From: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Date: Mon, 6 Nov 2023 23:37:13 -0800 Subject: [PATCH] Ensure exceptions get annotated as well --- .../Editor/UnityBuilderAction/Reporting/CompileListener.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dist/default-build-script/Assets/Editor/UnityBuilderAction/Reporting/CompileListener.cs b/dist/default-build-script/Assets/Editor/UnityBuilderAction/Reporting/CompileListener.cs index 03a4399c..70670535 100644 --- a/dist/default-build-script/Assets/Editor/UnityBuilderAction/Reporting/CompileListener.cs +++ b/dist/default-build-script/Assets/Editor/UnityBuilderAction/Reporting/CompileListener.cs @@ -25,6 +25,9 @@ namespace UnityBuilderAction.Reporting case LogType.Warning: prefix = "warning"; break; + case LogType.Exception: + prefix = "error"; + break; } Debug.Log($"::{prefix} ::{condition}\n{stackTrace}"); }