From 57651eab5acce8e565cdbb72579778ff67220e62 Mon Sep 17 00:00:00 2001 From: Simone Corsi Date: Mon, 9 May 2022 16:49:56 +0200 Subject: [PATCH] ci: adds logs --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 32c775b..32814ff 100644 --- a/src/index.ts +++ b/src/index.ts @@ -64,8 +64,9 @@ export async function run(): Promise { const catchAll = (info: any) => { core.setFailed(`#catchAll: ${info}`); + core.error(info); }; process.on('unhandledRejection', catchAll); process.on('uncaughtException', catchAll); -run(); +run().catch(core.error);