From 8e3a904f48a952fb849f4422ec69244c6c7a9c93 Mon Sep 17 00:00:00 2001 From: Akkuman Date: Fri, 1 Dec 2023 16:24:33 +0800 Subject: [PATCH] fix: more log --- dist/index.js | 1 + src/main.js | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 041134c..3ff6035 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33267,6 +33267,7 @@ async function run() { await uploadFiles(gitea_client, owner, repo, response.id, all_files) console.log(`🎉 Release ready at ${response.html_url}`); } catch (error) { + console.log(error); _actions_core__WEBPACK_IMPORTED_MODULE_2___default().setFailed(error.message); } } diff --git a/src/main.js b/src/main.js index c78064e..89e597f 100644 --- a/src/main.js +++ b/src/main.js @@ -41,6 +41,7 @@ async function run() { await uploadFiles(gitea_client, owner, repo, response.id, all_files) console.log(`🎉 Release ready at ${response.html_url}`); } catch (error) { + console.log(error); core.setFailed(error.message); } }