views/chatterbox/mailer/exception_notification.erb in relevance-chatterbox-0.3.0 vs views/chatterbox/mailer/exception_notification.erb in relevance-chatterbox-0.3.1
- old
+ new
@@ -1,13 +1,19 @@
Error Message
--------------
<%= @error_class %>: <%= @error_message %>
+Details
+-------
+<% @details.keys.map(&:to_s).sort.each do |key| -%>
+<%= %[#{key} => #{@details[key.to_sym]}] %>
+<% end if @details -%>
+
Backtrace
----------
<%= @backtrace.join "\n" if @backtrace %>
Environment
------------
-<% @environment.keys.sort.each do |key| %>
-<%= %[#{key} => #{@environment[key]}] -%>
+<% @environment.keys.sort.each do |key| -%>
+<%= %[#{key} => #{@environment[key]}] %>
<% end -%>
\ No newline at end of file