Sha256: 0ea6b59570b38b157913893373b00852df45ad3438fc5c41e975763eb4ff1f4c

Contents?: true

Size: 937 Bytes

Versions: 16

Compression:

Stored size: 937 Bytes

Contents

<meta name="exception_notification_http">
<h2><%= @attr[:exception].class %> occurred in <%= @attr[:kontroller].controller_name %></h2>
<pre>
<%= @attr[:exception].message %>
<%= @attr[:backtrace].first %>
</pre>
<%
    sections = @attr[:sections].map do |section|
      begin
        summary = render(section).strip
        if summary.present?
          title = render("title", :title => section).strip
          "#{title}#{summary}"
        end

      rescue Exception => e
        title = render("title", :title => section).strip
        summary = [[e.class.to_s, e.message].join(": "), e.backtrace && e.backtrace.join("\n")].compact.join("\n\n")
        [title, "<p><i>None</i></p><pre style='display:none'>" + summary + "</pre>"].join("")
      end
    end.join
    sections = sections.force_encoding('UTF-8').encode('UTF-16LE', :invalid => :replace).encode('UTF-8') if sections.respond_to?(:force_encoding)
-%>
<%= raw sections %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
runtimeerror_notifier-0.0.27 templates/runtimeerror_notifier/notification_mail.html.erb
runtimeerror_notifier-0.0.26 templates/runtimeerror_notifier/notification_mail.html.erb
runtimeerror_notifier-0.0.25 templates/runtimeerror_notifier/notification_mail.html.erb
runtimeerror_notifier-0.0.24 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.23 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.22 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.21 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.20 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.19 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.18 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.17 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.15 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.14 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.13 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.12 templates/runtimeerror_notifier/notification.html.erb
runtimeerror_notifier-0.0.11 templates/runtimeerror_notifier/notification.html.erb