Skip to content

Commit

Permalink
chore: better logging on error (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstenboom committed Dec 6, 2023
1 parent a775201 commit f9c069f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hooks",
"version": "0.3.11",
"version": "0.3.12",
"description": "Three projects are included - k8s: a kubernetes hook implementation that spins up pods dynamically to run a job - docker: A hook implementation of the runner's docker implementation - A hook lib, which contains shared typescript definitions and utilities that the other packages consume",
"main": "",
"directories": {
Expand Down
3 changes: 2 additions & 1 deletion packages/k8s/src/k8s/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ export async function execPodStep(
}
)
} catch (error) {
core.error(`Failed to exec pod step: ${error}`)
core.error(`Failed to exec pod step`)
core.error(error as Error)
}
})
}
Expand Down

0 comments on commit f9c069f

Please sign in to comment.