Browse Source

Update error_report.html.haml

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

4
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

Loading…
Cancel
Save