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 broken exception recovery code when installing plugins #3487

Merged

Conversation

fatkodima
Copy link
Contributor

Fixes #3484

Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

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

This looks good, I think.

The message: clearer, supports more than one spec.

Copy link
Member

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

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

Sorry for the long delay getting into this!

Only minor comment would be to make the plugin names more clear in the error message. Maybe

Failed to install the following plugins: <comma_separated_list_with_names_wrapped_in_backquotes>. The underlying error was: <the_error_as_it_is_printed_now>

What do you think?

@fatkodima
Copy link
Contributor Author

@deivid-rodriguez Updated with your suggestion.

@deivid-rodriguez
Copy link
Member

Thanks so much, I'll merge this tomorrow!

@deivid-rodriguez deivid-rodriguez merged commit b277c8c into rubygems:master Jul 14, 2020
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Fix broken exception recovery code when installing plugins

(cherry picked from commit b277c8c)
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Fix broken exception recovery code when installing plugins

(cherry picked from commit b277c8c)
deivid-rodriguez added a commit that referenced this pull request Oct 5, 2020
Fix broken exception recovery code when installing plugins

(cherry picked from commit b277c8c)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Fix broken exception recovery code when installing plugins

(cherry picked from commit b277c8c)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Fix broken exception recovery code when installing plugins

(cherry picked from commit b277c8c)
deivid-rodriguez added a commit that referenced this pull request Oct 6, 2020
Fix broken exception recovery code when installing plugins

(cherry picked from commit b277c8c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception recovery code when installing plugins is broken
4 participants