Skip to content

Commit

Permalink
fix: also show stack when an error happens
Browse files Browse the repository at this point in the history
  • Loading branch information
wagoid committed Oct 18, 2019
1 parent 97a5852 commit 2c42093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const showLintResults = async ([from, to]) => {
}

const exitWithMessage = message => error => {
core.setFailed(`${message}\n${error}`)
core.setFailed(`${message}\n${error.message}\n${error.stack}`)
}

const main = () =>
Expand Down

0 comments on commit 2c42093

Please sign in to comment.