diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-07-20 16:03:44 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-07-20 16:17:48 -0700 |
commit | 9e220eca4545982df83ffcaa66a9b050a3d6f24e (patch) | |
tree | a735fed0f50dec0083dac9284f45db73af1afea8 /worker/scripts/checkout_ci.ts | |
parent | 2e10e9172f8528868b70886335dbbe20f932f702 (diff) | |
download | ci-9e220eca4545982df83ffcaa66a9b050a3d6f24e.tar.gz ci-9e220eca4545982df83ffcaa66a9b050a3d6f24e.zip |
Fixes silent failures
Diffstat (limited to 'worker/scripts/checkout_ci.ts')
-rwxr-xr-x | worker/scripts/checkout_ci.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/worker/scripts/checkout_ci.ts b/worker/scripts/checkout_ci.ts index ac36d69..65cbc2e 100755 --- a/worker/scripts/checkout_ci.ts +++ b/worker/scripts/checkout_ci.ts @@ -150,6 +150,16 @@ await LogMetricTraceable.ofLogTraceable(logTraceableJob) () => afterJob, ); }) + .map( + TraceUtil.promiseify((e) => + e.get().fold( + (err) => { + throw err; + }, + (ok) => ok, + ), + ), + ) .get(); function getWorkingDirectoryForCiJob(job: CheckoutCiJob) { |