<%=h @exception.original_exception.class.to_s %> in <%=h request.parameters["controller"].capitalize if request.parameters["controller"]%>#<%=h request.parameters["action"] %>

Showing <%=h @exception.file_name %> where line #<%=h @exception.line_number %> raised:

<%=h @exception.message %>

Extracted source (around line #<%=h @exception.line_number %>):

<%=h @exception.source_extract %>

<%=h @exception.sub_template_message %>

<% @real_exception = @exception @exception = @exception.original_exception || @exception %> <%= render :file => @rescues_path["rescues/_trace.erb"] %> <% @exception = @real_exception %> <%= render :file => @rescues_path["rescues/_request_and_response.erb"] %>