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

[internal] refactor find_jvm_artifacts_or_raise to make its exceptions usable to show users #16140

Merged
merged 3 commits into from
Jul 12, 2022

Conversation

tdyas
Copy link
Contributor

@tdyas tdyas commented Jul 12, 2022

Modify find_jvm_artifacts_or_raise so that the exceptions it raises can be shown to users. This allows call sites to not have to have their own user-visible exceptions.

Tom Dyas added 2 commits July 11, 2022 23:15
[ci skip-rust]

[ci skip-build-wheels]
[ci skip-rust]

[ci skip-build-wheels]
@tdyas tdyas added the category:internal CI, fixes for not-yet-released features, etc. label Jul 12, 2022
@tdyas
Copy link
Contributor Author

tdyas commented Jul 12, 2022

Commits are stacked and be reviewed independently.

fmt
[ci skip-rust]

[ci skip-build-wheels]
Copy link
Contributor

@chrisjrn chrisjrn left a comment

Choose a reason for hiding this comment

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

Fancy!

Seeing fewer repetitive try blocks and exception formatters is good.

@tdyas tdyas merged commit 6023514 into pantsbuild:main Jul 12, 2022
@tdyas tdyas deleted the jvm_dep_inf_helper_refactor branch July 12, 2022 16:31
@stuhood stuhood mentioned this pull request Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants