swallow failures to receive job data
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
parent
e4b1e51a90
commit
b7194f0a96
|
|
@ -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 $_
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue