aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb
blob: d4af5c9b06b08a85573c08350d6aa81bbed93ae9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%
  traces = { "Application Trace" => @application_trace,
             "Framework Trace"   => @framework_trace,
             "Full Trace"        => @full_trace }
%>

Rails.root: <%= defined?(Rails) && Rails.respond_to?(:root) ? Rails.root : "unset" %>

<% traces.each do |name, trace| %>
<% if trace.any? %>
<%= name %>
<%= trace.join("\n") %>

<% end %>
<% end %>