We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31bcf96 commit ecca49fCopy full SHA for ecca49f
hello-world/src/main.ts
@@ -7,4 +7,7 @@ const main = async (): Promise<void> => {
7
})
8
}
9
10
-main().catch((e) => core.setFailed(e instanceof Error ? e : String(e)))
+main().catch((e: Error) => {
11
+ core.setFailed(e)
12
+ console.error(e)
13
+})
0 commit comments