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

Don't mask LoadErrors: #249

Merged
merged 1 commit into from
Mar 20, 2019
Merged

Don't mask LoadErrors: #249

merged 1 commit into from
Mar 20, 2019

Conversation

burke
Copy link
Member

@burke burke commented Mar 20, 2019

If a LoadError is generated by require while called with load_dependency further up the stack in some situations, the actual error would be masked by an irrelevant error.

This correctly propagates the initial error all the way back up the stack.

Fixes #218

If a LoadError is generated by `require` while called with
`load_dependency` further up the stack in some situations, the actual
error would be masked by an irrelevant error.

This correctly propagates the initial error all the way back up the
stack.
@burke burke merged commit 4d6decc into master Mar 20, 2019
@burke burke deleted the no-mask-load-error branch March 20, 2019 19:52
@casperisfine casperisfine temporarily deployed to rubygems March 26, 2019 09:25 Inactive
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.

3 participants