rubygems / bundler

Manage your Ruby application's gem dependencies
https://bundler.io
MIT License
4.88k stars 1.99k forks source link

Report original exception when failing to load openssl #7527

Closed p-mongo closed 4 years ago

p-mongo commented 4 years ago

What was the end-user problem that led to this PR?

See #7192.

What was your diagnosis of the problem?

Bundler discards LoadError class and message when reporting it.

What is your fix for the problem, implemented in this PR?

Report class and message of the original exception when reporting LoadError.

Fixes #7192

welcome[bot] commented 4 years ago

Thanks for opening a pull request and helping make Bundler better! Someone from the Bundler team will take a look at your pull request shortly and leave any feedback. Please make sure that your pull request has tests for any changes or added functionality.

We use Travis CI to test and make sure your change works functionally and uses acceptable conventions, you can review the current progress of Travis CI in the PR status window below.

If you have any questions or concerns that you wish to ask, feel free to leave a comment in this PR or join our #bundler channel on Slack.

For more information about contributing to the Bundler project feel free to review our CONTRIBUTING guide

deivid-rodriguez commented 4 years ago

@bundlerbot merge

ghost commented 4 years ago

Build succeeded