Skip to content

Commit fa321d4

Browse files
sgoedeckemaraisr
andauthored
Update src/main.ts
Co-authored-by: Marais Rossouw <[email protected]>
1 parent 3b5da63 commit fa321d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export async function run(): Promise<void> {
9494
if (error instanceof Error) {
9595
core.setFailed(error.message)
9696
} else {
97-
core.setFailed(`An unexpected error occurred: ${JSON.stringify(error)}`)
97+
core.setFailed(`An unexpected error occurred: ${JSON.stringify(error, null, 2)}`)
9898
}
9999

100100
// Force exit to prevent hanging on open connections

0 commit comments

Comments
 (0)