Skip to content

Commit 3f00f30

Browse files
committed
prevent uncaught exception when aborting pipe
1 parent e209313 commit 3f00f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/coordinator/src/checkpointer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ export class Checkpointer {
481481

482482
const containerId = this.#logger.debug(
483483
// @ts-expect-error
484-
await $$`crictl ps`
484+
await $`crictl ps`
485485
.pipeStdout($$({ stdin: "pipe" })`grep ${containterName}`)
486486
.pipeStdout($$({ stdin: "pipe" })`cut -f1 ${"-d "}`)
487487
);

0 commit comments

Comments
 (0)