Skip to content

Commit

Permalink
Fix error hadling
Browse files Browse the repository at this point in the history
  • Loading branch information
EndBug committed Apr 19, 2020
1 parent 2d77fa2 commit 5f12f93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ try {
checkInputs()
execFileSync(path(__dirname, 'entrypoint.sh'))
} catch (err) {
setFailed(err)
console.error(err)
setFailed(err instanceof Error ? err.message : err)
}

function checkInputs() {
Expand Down

0 comments on commit 5f12f93

Please sign in to comment.