instance method
trace_to_show
Ruby on Rails 8.1.2
Since v6.0.6Signature
trace_to_show()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 210
def trace_to_show
if traces["Application Trace"].empty? && rescue_template != "routing_error"
"Full Trace"
else
"Application Trace"
end
end
Defined in actionpack/lib/action_dispatch/middleware/exception_wrapper.rb line 210
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::ExceptionWrapper