Skip to content

Commit

Permalink
chore: try catch on failing bits
Browse files Browse the repository at this point in the history
Signed-off-by: Case Wylie <[email protected]>
  • Loading branch information
cmwylie19 committed Feb 26, 2025
1 parent f076a0e commit d4ba712
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hack/load.cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,12 @@ program
env,
});
log({ cmd: cmd.cmd, cwd: cmd.cwd, env });
log(await cmd.run(), "");
try {
log(await cmd.run(), "");
} catch (e) {
console.error(e);
process.exit(1);
}

log(`Wait for metrics on the Pepr controller to become available`);
const start = Date.now();
Expand Down

0 comments on commit d4ba712

Please sign in to comment.