<%= @exception.class.to_s =~ /^[aeiou]/i ? 'An' : 'A' %> <%= @exception.class %> occurred in background at <%= raw @timestamp %> :

  <%= @exception.message %>
  <%= @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.join
  %>
  <%= raw sections %>

<%= @exception.class.to_s =~ /^[aeiou]/i ? 'An' : 'A' %> <%= @exception.class %> occurred in background at <%= raw @timestamp %> :

  <%= @exception.message %>
  <%= @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.join
%>
<%= raw sections %>

Align output of section-headers consistently
Align output of section-headers consistently

Before, the header of the first section was prefixed by two spaces, 
leading to a visual disruption.