ci(release): preserve candidate JSON parse cause

This commit is contained in:
Peter Steinberger
2026-05-15 15:32:04 +01:00
parent 41810a462e
commit 492f59e586

View File

@@ -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 },
);
}
}