aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb
blob: 5ad96cc6575e1ecf393d10409851eed63d1fa043 (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'].camelize %>Controller<% if @request.parameters['action'] %>#<%=h @request.parameters['action'] %><% end %>
  <% end %>
</h1>
<pre><%=h @exception.message %></pre>

<%= render template: "rescues/_source" %>
<%= render template: "rescues/_trace" %>
<%= render template: "rescues/_request_and_response" %>