From 2abe8e9c5fa71eaca2d587b0326be95cdb95fcf5 Mon Sep 17 00:00:00 2001 From: Shakar <5h4k4r.b4kr@gmail.com> Date: Tue, 19 Sep 2023 11:15:40 +0300 Subject: [PATCH] Print error in detail Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com> --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7135a3d..d8ef376 100644 --- a/index.js +++ b/index.js @@ -155,7 +155,7 @@ async function commitChanges(filePath, file) { } ); } catch (error) { - core.setFailed(error.message); + core.setFailed(error); } }