Skip to content

Commit c5813c4

Browse files
committed
add new error code to should retry
1 parent 8111a9a commit c5813c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/v3/errors.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ export function shouldRetryError(error: TaskRunError): boolean {
149149
case "TASK_ALREADY_RUNNING":
150150
case "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE":
151151
case "TASK_PROCESS_SIGKILL_TIMEOUT":
152+
case "TASK_PROCESS_SIGTERM":
152153
case "TASK_PROCESS_OOM_KILLED":
153154
case "TASK_PROCESS_MAYBE_OOM_KILLED":
154155
case "TASK_RUN_CANCELLED":

0 commit comments

Comments
 (0)