Skip to content

Commit

Permalink
updated set failed to error object
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecoleman committed Jul 20, 2024
1 parent 01faf2a commit 9003db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export async function run(): Promise<void> {
core.setOutput('branch', response.data.head.ref)
} catch (error) {
if (error instanceof Error) {
core.setFailed(error.message)
core.setFailed(error)
}
}
}

0 comments on commit 9003db4

Please sign in to comment.