Skip to content

Commit 2c42093

Browse files
committed
fix: also show stack when an error happens
1 parent 97a5852 commit 2c42093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const showLintResults = async ([from, to]) => {
8787
}
8888

8989
const exitWithMessage = message => error => {
90-
core.setFailed(`${message}\n${error}`)
90+
core.setFailed(`${message}\n${error.message}\n${error.stack}`)
9191
}
9292

9393
const main = () =>

0 commit comments

Comments
 (0)