Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(util): Don't call toString() on Error #480

Merged
merged 1 commit into from
Mar 31, 2023
Merged

fix(util): Don't call toString() on Error #480

merged 1 commit into from
Mar 31, 2023

Conversation

Kurt-von-Laven
Copy link
Contributor

core.setFailed() accepts either a string or an Error and calls toString() on the latter, so simply pass it the Error.

core.setFailed() accepts either a string or an Error and calls
toString() on the latter, so simply pass it the Error.
@Kurt-von-Laven Kurt-von-Laven self-assigned this Mar 30, 2023
Copy link
Contributor

@mwarres mwarres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Kurt-von-Laven Kurt-von-Laven merged commit 69b7926 into main Mar 31, 2023
@Kurt-von-Laven Kurt-von-Laven deleted the util branch March 31, 2023 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants