pboling/exception_notification

View on GitHub
lib/views/exception_notification/notifier/exception_notification.text.plain.erb

Summary

Maintainability
Test Coverage
<% unless @request.nil? -%>
  <%= @request.protocol %><%= @host %><%= @request.request_uri %>
<% end -%>
A <%= @exception.class %> occurred in <%= @location %>:
  <%= @exception.message %>
  <%= @backtrace.first %>

<% if @data[:info] -%>
  <%=@data[:info].to_yaml%>
<% end -%>

<% unless @the_blamed.nil? || @the_blamed[:author].nil? %>
Git Blame: '<%=@the_blamed[:author]%>' last modified line #<%=@the_blamed[:line]%> in <%=@the_blamed[:file]%>
<% end%>
<%= @sections.map { |section| render_section(section) }.join %>