diff --git a/packages/backend/src/helpers/actions/handle-failed-step-and-throw.ts b/packages/backend/src/helpers/actions/handle-failed-step-and-throw.ts index 63dd736ea..4941bd1b3 100644 --- a/packages/backend/src/helpers/actions/handle-failed-step-and-throw.ts +++ b/packages/backend/src/helpers/actions/handle-failed-step-and-throw.ts @@ -148,7 +148,7 @@ interface HandleFailedStepAndThrowParams { export function handleFailedStepAndThrow( params: HandleFailedStepAndThrowParams, -): Promise { +): never { let { executionError } = params const { errorDetails, context } = params const { span, job } = context