Browse Source

Update error_report.html.haml

development
Godwin 8 years ago
committed by GitHub
parent
commit
9f6ead1605
  1. 6
      app/views/user_mailer/error_report.html.haml

6
app/views/user_mailer/error_report.html.haml

@ -1,9 +1,9 @@
%p=@message.html_safe if @message.present? %p=@message.html_safe if @message.present?
%pre=@report %pre=@report
- if @exception.present? && @exception.respond_to?(:backtrace) - if @exception.present?
%h1 Backtrace %h1 Backtrace
%pre=@exception.backtrace.join("\n") %pre=@exception
%h1 Details %h1 Details
%table.error-report %table.error-report
@ -47,4 +47,4 @@
- @request['env'].each do | key, value | - @request['env'].each do | key, value |
%tr %tr
%td=key %td=key
%td=value %td=value

Loading…
Cancel
Save