From 00d510af42295a71c2c7560f57c2b7da0ba4dc81 Mon Sep 17 00:00:00 2001 From: Erika Gressi Date: Thu, 21 Sep 2023 19:14:47 +0200 Subject: [PATCH] ErrorRecord --- .../pipelines/staticValidation/Set-PesterGitHubOutput.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/avm/utilities/pipelines/staticValidation/Set-PesterGitHubOutput.ps1 b/avm/utilities/pipelines/staticValidation/Set-PesterGitHubOutput.ps1 index 8e7adecfc0..d0d4391bdf 100644 --- a/avm/utilities/pipelines/staticValidation/Set-PesterGitHubOutput.ps1 +++ b/avm/utilities/pipelines/staticValidation/Set-PesterGitHubOutput.ps1 @@ -133,6 +133,7 @@ function Set-PesterGitHubOutput { Write-Verbose "testName $testName" Write-Verbose "$intermediateNameElements" Write-Verbose "failedTest $failedTest" + Write-Verbose "failedTestErrorRecord $($failedTest.ErrorRecord)" # $errorTestFile = (Split-Path $failedTest.ErrorRecord.TargetObject.File -Leaf).Trim() $errorTestFile = ""