From 603a41f04a8ba128f6ae1b1c7a45cfdc78f7995d Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Tue, 14 Jul 2026 15:13:06 +0000 Subject: [PATCH] Include stdout in deploy error message (compose build errors) --- updater/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater/src/index.js b/updater/src/index.js index 0efdc8e..f7dcd57 100644 --- a/updater/src/index.js +++ b/updater/src/index.js @@ -15,7 +15,7 @@ function spawnAsync(file, args, opts = {}) { child.on('error', reject) child.on('close', code => { if (code === 0) resolve({ stdout, stderr }) - else reject(new Error(`Exit ${code}: ${stderr.slice(-500)}`)) + else reject(new Error(`Exit ${code}: ${(stderr + stdout).slice(-500)}`)) }) if (opts.timeout) { setTimeout(() => { child.kill(); reject(new Error('Timeout')) }, opts.timeout)