lib/action_dispatch/middleware/show_exceptions.rb in actionpack-6.0.2.2 vs lib/action_dispatch/middleware/show_exceptions.rb in actionpack-6.0.3.rc1

- old
+ new

@@ -38,10 +38,9 @@ raise exception end end private - def render_exception(request, exception) backtrace_cleaner = request.get_header "action_dispatch.backtrace_cleaner" wrapper = ExceptionWrapper.new(backtrace_cleaner, exception) status = wrapper.status_code request.set_header "action_dispatch.exception", wrapper.unwrapped_exception