Sha256: 5c4598de4d0a78615212ee96d24ada29f39620cc1ee84dff70f0ac902652cc81

Contents?: true

Size: 776 Bytes

Versions: 2

Compression:

Stored size: 776 Bytes

Contents

<!DOCTYPE HTML>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Exception</title>
  </head>
  <body>
    <pre style="font-size: 12px">
<%= @exception.class.to_s =~ /^[aeiou]/i ? 'An' : 'A' %> <%= @exception.class %> occurred in background at <%= raw Time.current %> :

<%= @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
    sections = sections.force_encoding('UTF-8').encode('UTF-16', :invalid => :replace).encode('UTF-8') if sections.respond_to?(:force_encoding)
%>
<%= raw sections %>
    </pre>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
exception_notification-3.0.0 lib/exception_notifier/views/exception_notifier/background_exception_notification.html.erb
exception_notification-3.0.0.rc1 lib/exception_notifier/views/exception_notifier/background_exception_notification.html.erb