Skip to content

Commit 5919a5f

Browse files
committed
replace internal errors on attempts
1 parent 86b70a8 commit 5919a5f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/core/src/v3/errors.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,13 @@ export function exceptionEventEnhancer(
395395
}
396396
break;
397397
}
398+
case TaskRunErrorCodes.TASK_PROCESS_MAYBE_OOM_KILLED:
399+
case TaskRunErrorCodes.TASK_PROCESS_OOM_KILLED: {
400+
return {
401+
...exception,
402+
...prettyInternalErrors[exception.type],
403+
};
404+
}
398405
}
399406

400407
return exception;

0 commit comments

Comments
 (0)