Skip to content

Commit 445c895

Browse files
committed
Display error object
1 parent 27a7b15 commit 445c895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async function pollApi(accountEmail: string, apiKey: string, accountId: string,
105105
if (!body.success) {
106106
waiting = false;
107107
const error = body.errors.length > 0 ? body.errors[0] : 'Unknown error!';
108-
core.setFailed(`Failed to check deployment status! Error: ${error}`);
108+
core.setFailed(`Failed to check deployment status! Error: ${JSON.stringify(error)}`);
109109
return;
110110
}
111111

0 commit comments

Comments
 (0)