From c6633930259a9bbe0e4a1429c3bed70e58320079 Mon Sep 17 00:00:00 2001 From: Hidetake Iwata Date: Sun, 17 Jul 2022 22:20:37 +0900 Subject: [PATCH] Refactor main --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 5fdb88eb..5ab51f53 100644 --- a/src/main.ts +++ b/src/main.ts @@ -10,4 +10,4 @@ const main = async (): Promise => { }) } -main().catch((e) => core.setFailed(e instanceof Error ? e.message : JSON.stringify(e))) +main().catch((e) => core.setFailed(e instanceof Error ? e : String(e)))