From 492f59e58683def2c13590846faebe6b9eadee5e Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 15 May 2026 15:32:04 +0100 Subject: [PATCH] ci(release): preserve candidate JSON parse cause --- scripts/release-candidate-checklist.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/release-candidate-checklist.mjs b/scripts/release-candidate-checklist.mjs index 40fa26a719b..a2e5b983157 100644 --- a/scripts/release-candidate-checklist.mjs +++ b/scripts/release-candidate-checklist.mjs @@ -151,6 +151,7 @@ function readJson(path, label) { } catch (error) { throw new Error( `${label} is invalid JSON: ${error instanceof Error ? error.message : String(error)}`, + { cause: error }, ); } }