From 1bc0363aedad29bad82e67e46609bd456038ae15 Mon Sep 17 00:00:00 2001 From: Devin Foley Date: Sun, 3 May 2026 19:46:19 -0700 Subject: [PATCH] Log build-gap typecheck spawn failures --- scripts/run-typecheck-build-gaps.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/run-typecheck-build-gaps.mjs b/scripts/run-typecheck-build-gaps.mjs index 8ab72ea0284..74aafa6a5ec 100644 --- a/scripts/run-typecheck-build-gaps.mjs +++ b/scripts/run-typecheck-build-gaps.mjs @@ -16,6 +16,11 @@ function run(command, args) { stdio: "inherit", }); + if (result.error) { + console.error(`[typecheck:build-gaps] Failed to spawn ${command}: ${result.error.message}`); + process.exit(1); + } + if (result.status !== 0) { process.exit(result.status ?? 1); }