diff --git a/src/main.ts b/src/main.ts index 7d4c9a52..60e14cde 100644 --- a/src/main.ts +++ b/src/main.ts @@ -11,4 +11,7 @@ const main = async (): Promise => { }) } -main().catch((e) => core.setFailed(e instanceof Error ? e : String(e))) +main().catch((e: Error) => { + core.setFailed(e) + console.error(e) +})