roidrage / lograge

An attempt to tame Rails' default policy to log everything.
http://www.paperplanes.de/2012/3/14/on-notifications-logsubscribers-and-bringing-sanity-to-rails-logging.html
MIT License
3.47k stars 300 forks source link

Display halted callbacks in log for Application Controller #375

Open benoittgt opened 1 year ago

benoittgt commented 1 year ago

Fix https://github.com/roidrage/lograge/issues/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

benlovell commented 1 year ago

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

benoittgt commented 1 year ago

I think @jeremybdk wanted to test it before.