File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -196,8 +196,7 @@ jobs:
196196 -ExePath $exe `
197197 -Session "ci-conpty-invalid-windows-2022-$env:GITHUB_RUN_ID-$env:GITHUB_RUN_ATTEMPT"
198198 } catch {
199- if ($_.Exception.Message -notlike "workspace create failed with exit code*" -and
200- $_.Exception.Message -notlike "server exited with exit code*") {
199+ if ($_.Exception.Message -notlike "*Herdr's app-local ConPTY bundle is invalid:*") {
201200 throw
202201 }
203202 $rejected = $true
Original file line number Diff line number Diff line change @@ -101,7 +101,8 @@ try {
101101 $ErrorActionPreference = $savedErrorActionPreference
102102 }
103103 if ($createdExitCode -ne 0 ) {
104- throw " workspace create failed with exit code $createdExitCode `: $ ( $created -join " `n " ) "
104+ $serverError = Get-Content - LiteralPath $serverErrorPath - Raw
105+ throw " workspace create failed with exit code $createdExitCode `: $ ( $created -join " `n " ) `n $serverError "
105106 }
106107 $paneId = (($created -join " `n " ) | ConvertFrom-Json ).result.root_pane.pane_id
107108 if ([string ]::IsNullOrWhiteSpace($paneId )) {
You can’t perform that action at this time.
0 commit comments