Skip to content

Fail with an error message instead of a stack trace when a subcommand fails #91

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

Merged
merged 1 commit into from
Oct 30, 2019

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 22, 2019

At the moment, if a subcommand fails, we print a stack trace. This catches the Python error and prints a nicer error message instead.

@ahoppen ahoppen requested a review from nathawes October 22, 2019 23:41
@ahoppen
Copy link
Member Author

ahoppen commented Oct 26, 2019

CI testing passed: https://ci.swift.org/job/swift-PR-osx-preset/62/

Copy link

@nathawes nathawes left a comment

Choose a reason for hiding this comment

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

Thanks - this is much nicer!

@ahoppen ahoppen merged commit 9886866 into swiftlang:master Oct 30, 2019
@ahoppen ahoppen deleted the fail-gracefully-build-script branch October 30, 2019 17:41
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