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

Display halted callbacks in log for Application Controller #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benoittgt
Copy link

Fix #258

Sometimes when you do the final render or redirection, it can be halted by a controller callback. With the existing code, it can very hard to understand where it stopped.

With this commit, the intent is to provide the method name where it stops.

Close #259

Fix roidrage#258

Sometimes when you do the final render or redirection, it can be halted by a controller callback. With the existing code, it can very hard to understand where it stopped.

With this commit, the intent is to provide the method name where it stops.
@benlovell
Copy link
Collaborator

Hey @benoittgt, this is marked WIP but I assume it's good to merge? Looks good to me.

@benoittgt
Copy link
Author

I think @jeremybdk wanted to test it before.

@benoittgt benoittgt marked this pull request as ready for review October 24, 2023 13:03
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.

How to log the before_action method that halt the request?
2 participants