A <%= @exception.class %> occurred in <%= @controller.controller_name %>#<%= @controller.action_name %>: <%= raw @exception.message %> <%= raw @backtrace.first %> <% sections = @sections.map do |section| summary = render(section).strip unless summary.blank? title = render("title", :title => section).strip "#{title}\n\n#{summary.gsub(/^/, " ")}\n\n" end end %> <%= raw sections.join %>