Sha256: dd2d02546b268636d6f79f26c47e137f4a98157a15e76561ad29857174e5ae96

Contents?: true

Size: 835 Bytes

Versions: 17

Compression:

Stored size: 835 Bytes

Contents

<%= @exception.class.to_s =~ /^[aeiou]/i ? 'An' : 'A' %> <%= @exception.class %> occurred in <%= @kontroller.controller_name %>#<%= @kontroller.action_name %>:

  <%= raw @exception.message %>
  <%= raw @backtrace.first %>

<%
    sections = @sections.map do |section|
      begin
        summary = render(section).strip
        unless summary.blank?
          title = render("title", :title => section).strip
          "#{title}\n\n#{summary.gsub(/^/, "  ")}\n\n"
        end

      rescue Exception => e
        title = render("title", :title => section).strip
        summary = ["ERROR: Failed to generate exception summary:", [e.class.to_s, e.message].join(": "), e.backtrace && e.backtrace.join("\n")].compact.join("\n\n")

        [title, summary.gsub(/^/, "  "), nil].join("\n\n")
      end
    end.join
%>

<%= raw sections %>

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
exception_notification-4.3.0 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.2.2 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.2.1 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.2.0 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.2.0.rc1 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification_more_info-1.0.1 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification_more_info-1.0.0 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.1.4 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.1.3 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.1.2 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.1.1 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.1.0 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.1.0.rc2 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.1.0.rc1 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.0.1 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.0.0 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb
exception_notification-4.0.0.rc1 lib/exception_notifier/views/exception_notifier/exception_notification.text.erb