Skip to content

Commit 496904c

Browse files
authored
Fix feature flag location (#2703)
1 parent b91ad56 commit 496904c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner.Worker/ExecutionContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ public void Verbose(string format, params Object[] args)
14681468

14691469
private bool logTemplateErrorsAsDebugMessages()
14701470
{
1471-
if (_executionContext.Global.EnvironmentVariables.TryGetValue(Constants.Runner.Features.LogTemplateErrorsAsDebugMessages, out var logErrorsAsDebug))
1471+
if (_executionContext.Global.Variables.TryGetValue(Constants.Runner.Features.LogTemplateErrorsAsDebugMessages, out var logErrorsAsDebug))
14721472
{
14731473
return StringUtil.ConvertToBoolean(logErrorsAsDebug, defaultValue: false);
14741474
}

0 commit comments

Comments
 (0)