Update src/main.ts

Co-authored-by: Marais Rossouw <me@marais.co>
This commit is contained in:
Sean Goedecke
2025-08-05 08:59:43 +10:00
committed by GitHub
parent 3b5da63917
commit fa321d4c78
+1 -1
View File
@@ -94,7 +94,7 @@ export async function run(): Promise<void> {
if (error instanceof Error) {
core.setFailed(error.message)
} else {
core.setFailed(`An unexpected error occurred: ${JSON.stringify(error)}`)
core.setFailed(`An unexpected error occurred: ${JSON.stringify(error, null, 2)}`)
}
// Force exit to prevent hanging on open connections