From 50b3edff3c1b0977fd8e0ce91b9b508445d17285 Mon Sep 17 00:00:00 2001 From: JoannaaKL Date: Wed, 31 May 2023 15:29:09 +0000 Subject: [PATCH] Revert "Dont log error twice in ExecutionContext on template error (#2634)" This reverts commit 48cbee08f9a2beb03c88e559bfd05c5d6acff74d. --- src/Runner.Worker/ExecutionContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Worker/ExecutionContext.cs b/src/Runner.Worker/ExecutionContext.cs index 359cfc8e6..70b78cc63 100644 --- a/src/Runner.Worker/ExecutionContext.cs +++ b/src/Runner.Worker/ExecutionContext.cs @@ -1401,7 +1401,7 @@ namespace GitHub.Runner.Worker public void Error(string format, params Object[] args) { - _executionContext.Debug(string.Format(CultureInfo.CurrentCulture, format, args)); + _executionContext.Error(string.Format(CultureInfo.CurrentCulture, format, args)); } public void Info(string format, params Object[] args)