mirror of
https://github.com/herdrdev/herdr.git
synced 2026-09-22 00:01:06 +00:00
@@ -240,8 +240,7 @@ jobs:
|
||||
-ExePath $exe `
|
||||
-Session "ci-conpty-invalid-windows-2022-$env:GITHUB_RUN_ID-$env:GITHUB_RUN_ATTEMPT"
|
||||
} catch {
|
||||
if ($_.Exception.Message -notlike "workspace create failed with exit code*" -and
|
||||
$_.Exception.Message -notlike "server exited with exit code*") {
|
||||
if ($_.Exception.Message -notlike "*Herdr's app-local ConPTY bundle is invalid:*") {
|
||||
throw
|
||||
}
|
||||
$rejected = $true
|
||||
|
||||
@@ -101,7 +101,8 @@ try {
|
||||
$ErrorActionPreference = $savedErrorActionPreference
|
||||
}
|
||||
if ($createdExitCode -ne 0) {
|
||||
throw "workspace create failed with exit code $createdExitCode`: $($created -join "`n")"
|
||||
$serverError = Get-Content -LiteralPath $serverErrorPath -Raw
|
||||
throw "workspace create failed with exit code $createdExitCode`: $($created -join "`n")`n$serverError"
|
||||
}
|
||||
$paneId = (($created -join "`n") | ConvertFrom-Json).result.root_pane.pane_id
|
||||
if ([string]::IsNullOrWhiteSpace($paneId)) {
|
||||
|
||||
Reference in New Issue
Block a user