From 9895236ebfc960482200375570683903cf715991 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sat, 2 May 2026 19:20:48 -0700 Subject: [PATCH] test(e2e): surface update channel fixture install logs --- scripts/e2e/update-channel-switch-docker.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/e2e/update-channel-switch-docker.sh b/scripts/e2e/update-channel-switch-docker.sh index cd358c66c87..2d66596d8d9 100755 --- a/scripts/e2e/update-channel-switch-docker.sh +++ b/scripts/e2e/update-channel-switch-docker.sh @@ -55,7 +55,10 @@ tar -xzf "$package_tgz" -C "$git_root" --strip-components=1 node scripts/e2e/lib/update-channel-switch/assertions.mjs prepare-git-fixture "$git_root" ( cd "$git_root" - npm install --omit=optional --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1 + if ! npm install --omit=optional --no-fund --no-audit >/tmp/openclaw-git-install.log 2>&1; then + cat /tmp/openclaw-git-install.log >&2 || true + exit 1 + fi ) node scripts/e2e/lib/update-channel-switch/assertions.mjs write-control-ui "$git_root"