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: actual_exception is NilClass when 'exception.cause' is nil. #601

Merged
merged 2 commits into from
Oct 8, 2019

Conversation

elengine
Copy link
Contributor

Dear @mislav

This PR fixes a issue:
Status code is not 404 when 'WillPaginate::InvalidPage' is included in exception.

Reason:
Exception#cause return nil when previous exception is none.

@mislav mislav merged commit 5adf241 into mislav:master Oct 8, 2019
@mislav
Copy link
Owner

mislav commented Oct 8, 2019

Thank you!

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