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?
%pre=@report
- if @exception.present? && @exception.respond_to?(:backtrace)
- if @exception.present?
%h1 Backtrace
%pre=@exception.backtrace.join("\n")
%pre=@exception
%h1 Details
%table.error-report
@ -47,4 +47,4 @@
- @request['env'].each do | key, value |
%tr
%td=key
%td=value
%td=value

Loading…
Cancel
Save