Sha256: a5b7962b3d20ba7cfe37f0913b41c08610606e60131f128d769cc152ee09805a

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

<%= @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 %>

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.text.erb
exception_notification-3.0.0.rc1 lib/exception_notifier/views/exception_notifier/background_exception_notification.text.erb