aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb
blob: 693e56270a3d9f4c8ee6698d2c25512b3de20276 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<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/_trace.erb" %>
<%= render :file => "rescues/_request_and_response.erb" %>