fix: throw when 'docker run' fails (#1088)

Co-authored-by: Claude Opus 5.5 <michael.kriese+claude-code@mend.io>
This commit is contained in:
Michael KrieseandClaude Opus 5.5 authored and GitHub committed 2026-10-30 12:14:07 +00:00
1 parent fd404037ec
commit 1e94228dc0
1 file changed
+2 -2
+2 -2
View File
@@ -19,7 +19,7 @@ export class Renovate {
const { exitCode, stdout } = await getExecOutput(command);
if (exitCode !== 0) {
new Error(`'docker run' failed with exit code ${exitCode}.`);
throw new Error(`'docker run' failed with exit code ${exitCode}.`);
}
return stdout.trim();
@@ -93,7 +93,7 @@ export class Renovate {
const code = await exec(command);
if (code !== 0) {
new Error(`'docker run' failed with exit code ${code}.`);
throw new Error(`'docker run' failed with exit code ${code}.`);
}
}