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

Always print an error message, never error silently #262

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

DilumAluthge
Copy link
Member

@DilumAluthge DilumAluthge commented Jul 13, 2024

Ref #240
Ref #241

This PR does NOT fix the actual problem in #240 or #241, but it does fix the problem of setup-julia erroring silently and not printing a log message.

With this PR, as a general rule, we always print the error message before we throw the error.

@DilumAluthge DilumAluthge marked this pull request as ready for review July 13, 2024 21:09
@DilumAluthge DilumAluthge requested a review from a team as a code owner July 13, 2024 21:09
@DilumAluthge
Copy link
Member Author

Bump @IanButterworth @omus.

I think this PR is a strict improvement over the status quo, because (AFAICT) it makes sure that this action never errors without printing logs first.

@DilumAluthge DilumAluthge merged commit ba42af3 into master Jul 18, 2024
59 checks passed
@DilumAluthge DilumAluthge deleted the dpa/never-error-silently branch July 18, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants