From 2c42093c709a9ccfef8e76a53d64595331627893 Mon Sep 17 00:00:00 2001 From: Wagner Santos Date: Fri, 18 Oct 2019 16:29:58 -0300 Subject: [PATCH] fix: also show stack when an error happens --- run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.js b/run.js index 885786b..6db9b5a 100644 --- a/run.js +++ b/run.js @@ -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 = () =>