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

Improve resolve error information. #1287

Merged

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Mar 25, 2021

When a resolve failed at the stage of determining roots it left alot
of context on the floor. Add that context in the error message when
available.

@jsirois
Copy link
Member Author

jsirois commented Mar 25, 2021

This is motivated by making a hard to debug macOS / CI specific issue here: https://github.com/pantsbuild/pants/pull/11773/checks?check_run_id=2162600254#step:9:87 easier to debug.

When a resolve failed at the stage of determining roots it left alot
of context on the floor. Add that context in the error message when
available.
@jsirois jsirois force-pushed the _root_requirements_iter/better_error_message branch from dd9c72d to c282d3f Compare March 25, 2021 06:29
@jsirois jsirois mentioned this pull request Mar 25, 2021
4 tasks
Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Thank you!

@jsirois jsirois merged commit e5f815d into pex-tool:main Mar 25, 2021
@jsirois jsirois deleted the _root_requirements_iter/better_error_message branch March 25, 2021 15:38
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.

None yet

2 participants