instance method
traces
Ruby on Rails 5.2.8.1
Since v4.2.9Signature
traces()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/middleware/exception_wrapper.rb, line 61
def traces
application_trace_with_ids = []
framework_trace_with_ids = []
full_trace_with_ids = []
full_trace.each_with_index do |trace, idx|
trace_with_id = { id: idx, trace: trace }
if application_trace.include?(trace)
application_trace_with_ids << trace_with_id
else
framework_trace_with_ids << trace_with_id
end
full_trace_with_ids << trace_with_id
end
{
"Application Trace" => application_trace_with_ids,
"Framework Trace" => framework_trace_with_ids,
"Full Trace" => full_trace_with_ids
}
end
Defined in actionpack/lib/action_dispatch/middleware/exception_wrapper.rb line 61
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::ExceptionWrapper