diff --git a/src/main.ts b/src/main.ts index 18a324a..da05ad8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -94,7 +94,7 @@ export async function run(): Promise { 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