Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/k8s/src/hooks/run-container-step.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export async function runContainerStep(
pod = await createContainerStepPod(getStepPodName(), container, extension)
} catch (err) {
const message = formatError(err)
core.debug(`createJob failed: ${message}`)
throw new Error(`failed to run script step: ${message}`)
core.debug(`createContainerStepPod failed: ${message}`)
throw new Error(`failed to run container step: ${message}`)
}

if (!pod.metadata?.name) {
Expand Down Expand Up @@ -112,7 +112,7 @@ export async function runContainerStep(
} catch (err) {
const message = formatError(err)
core.debug(`execPodStep failed: ${message}`)
throw new Error(`failed to run script step: ${message}`)
throw new Error(`failed to run container step: ${message}`)
} finally {
fs.rmSync(runnerPath, { force: true })
}
Expand Down
Loading