aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/templates/rescues/diagnostics.erb
blob: 385c6c1b09ec9b0d0f763093dc78cac9b8ac0467 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<h1>
  <%=h @exception.class.to_s %>
  <% if request.parameters['controller'] %>
    in <%=h request.parameters['controller'].humanize %>Controller<% if request.parameters['action'] %>#<%=h request.parameters['action'] %><% end %>
  <% end %>
</h1>
<pre><%=h @exception.clean_message %></pre>

<%= render(:file => @rescues_path + "/_trace.erb", :use_full_path => false) %>

<%= render(:file => @rescues_path + "/_request_and_response.erb", :use_full_path => false) %>