diff --git a/app/views/user_mailer/error_report.html.haml b/app/views/user_mailer/error_report.html.haml index 8ff2302..3b6b83e 100644 --- a/app/views/user_mailer/error_report.html.haml +++ b/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 \ No newline at end of file + %td=value