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 status code #334

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Fix status code #334

merged 1 commit into from
Jan 11, 2022

Conversation

richmolj
Copy link
Contributor

The code here is getting the status code through an internal interface, rather than what Rails itself does. Let's use the public interface to ensure we get the right status code!

The code here is getting the status code through an internal interface,
rather than [what Rails itself does](https://github.com/rails/rails/search?q=status_code_for_exception).
Let's use the public interface to ensure we get the right status code!
@iloveitaly
Copy link
Collaborator

Great change, thanks!

@iloveitaly iloveitaly merged commit e6db583 into roidrage:master Jan 11, 2022
olleolleolle pushed a commit to olleolleolle/lograge that referenced this pull request Jan 11, 2022
The code here is getting the status code through an internal interface,
rather than [what Rails itself does](https://github.com/rails/rails/search?q=status_code_for_exception).
Let's use the public interface to ensure we get the right status code!
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