From ace0beaa3fef9fd050a46f023e5be3d0f23b5d0d Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Mon, 5 Jan 2026 09:49:51 -0500 Subject: [PATCH] build: add logging to notes generator (#49300) --- script/release/notes/notes.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/release/notes/notes.ts b/script/release/notes/notes.ts index 0da214361c..f9d5d3c7f5 100644 --- a/script/release/notes/notes.ts +++ b/script/release/notes/notes.ts @@ -105,12 +105,17 @@ class Pool { **/ const runGit = async (dir: string, args: string[]) => { + console.log(`Running git ${args.join(' ')} in ${dir}`); const response = spawnSync('git', args, { cwd: dir, encoding: 'utf8', stdio: ['inherit', 'pipe', 'pipe'] }); if (response.status !== 0) { + console.error(`Git command failed: git ${args.join(' ')}`); + console.error('STDERR was ' + response.stderr.trim()); + console.error('STDOUT was ' + response.stdout.trim()); + console.log('Response status:', response.status); throw new Error(response.stderr.trim()); } return response.stdout.trim();