diff --git a/backend/scripts/p2-acceptance.mjs b/backend/scripts/p2-acceptance.mjs index 0be7e594..7ac78478 100644 --- a/backend/scripts/p2-acceptance.mjs +++ b/backend/scripts/p2-acceptance.mjs @@ -789,7 +789,7 @@ async function writeInstallationFiles(ctx) { }, }; await atomicWrite(fixtureOverridePath, yamlStringify(override, { lineWidth: 0, sortMapEntries: false })); - await runCommand({ + const generated = await runCommand({ executable: join(ctx.repositoryRoot, "scripts", "generate-connector-secrets-override.sh"), argv: [ "--bindings-env", bindingsEnvPath, @@ -800,6 +800,7 @@ async function writeInstallationFiles(ctx) { ], env: ctx.execEnv, }); + if (generated.exitCode !== 0) throw new Error(`connector override generation failed: ${generated.stderr || generated.stdout}`); const installation = { profile: "server", projectDirectory: ctx.repositoryRoot,