You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realised after upgrading to rails 7.1 that when I encounter an exception in the view, I do not get the familiar ActionDispatch::DebugExceptions page anymore, but rather my exceptions_app
After much digging, I realised there is a crash inside ActionDispatch::DebugExceptions when trying to display the backtrace, thus making the middleware not render the page, and the exception ends up getting caught by ActionDispatch::ShowExceptions down the road.
I also had a lot of bad experiences with the latest Rails version 7.2.2 and better html. No error page was displayed correctly anymore. Ended up in removing the gem completely.
I realised after upgrading to rails 7.1 that when I encounter an exception in the view, I do not get the familiar
ActionDispatch::DebugExceptions
page anymore, but rather myexceptions_app
After much digging, I realised there is a crash inside
ActionDispatch::DebugExceptions
when trying to display the backtrace, thus making the middleware not render the page, and the exception ends up getting caught byActionDispatch::ShowExceptions
down the road.Here's the exception and the stacktrace :
better_html
sounded like a good suspect, removing it from the bundle fixes the issue.Alternatively, disabling runtime checks fixes the issue too :
So it seems that the custom parser conflicts with the way rails 7.1 tries to extract the source.
The text was updated successfully, but these errors were encountered: