From b7194f0a96d60e4cb650ea90cc9c9e471d01d713 Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen Date: Sat, 7 May 2022 00:15:43 -0600 Subject: [PATCH] swallow failures to receive job data Signed-off-by: Travis Glenn Hansen --- ci/bin/run.ps1 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ci/bin/run.ps1 b/ci/bin/run.ps1 index 31adc78..3e7be00 100644 --- a/ci/bin/run.ps1 +++ b/ci/bin/run.ps1 @@ -10,7 +10,7 @@ . "${PSScriptRoot}\helper.ps1" -Set-PSDebug -Trace 2 +#Set-PSDebug -Trace 2 Write-Output "current user" whoami @@ -85,10 +85,9 @@ while ($csi_sanity_job -and ($csi_sanity_job.State -eq "Running" -or $csi_sanity } catch { if ($job.State -ne "Failed") { - Write-Output "failure receiving job data" - $job | ConvertTo-Json | Write-Output - Write-Output $_ - throw $_ + Write-Output "failure receiving job data: " + $_ + $job | fl + #throw $_ } } }