From e14e8e1bdc03441d08930cd12668f324268cf14d Mon Sep 17 00:00:00 2001 From: Domenic Simone Date: Wed, 3 Jan 2024 11:15:15 +1100 Subject: [PATCH] fix: not handling run function --- src/main.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.ts b/src/main.ts index e499ac8a..02f0a149 100644 --- a/src/main.ts +++ b/src/main.ts @@ -20,3 +20,9 @@ async function run(): Promise { } run() + .then() + .catch(e => { + if (e instanceof Error) { + setFailed(e) + } + })