Skip to content

Commit

Permalink
Add errortext to error output
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Jul 17, 2023
1 parent d080150 commit eb2519e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ async function run(): Promise<void> {
}
} catch (error: any) {
core.info(`Deployment Failed`)
core.info(error)
const errorText = error.message ?? error
core.info(error)
core.info(errorText)
core.setFailed(errorText)
}
}
Expand Down

0 comments on commit eb2519e

Please sign in to comment.