From cd9d3de43b264c20364fa16fc29fb0e0f3ebbd12 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sun, 27 Feb 2022 17:51:33 +0100 Subject: [PATCH] Show stacktrace if available, in addition to error message --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 2d95240..a452859 100644 --- a/dist/index.js +++ b/dist/index.js @@ -60832,7 +60832,7 @@ async function run() { try { await setupRuby() } catch (error) { - core.setFailed(error.message) + core.setFailed(error.stack) } } diff --git a/index.js b/index.js index 73184cb..8fdf457 100644 --- a/index.js +++ b/index.js @@ -23,7 +23,7 @@ export async function run() { try { await setupRuby() } catch (error) { - core.setFailed(error.message) + core.setFailed(error.stack) } }