Browse Source

Fixed backtrace in error reports

development
Godwin 7 years ago
committed by GitHub
parent
commit
8ded341c47
  1. 5
      app/views/user_mailer/error_report.html.haml

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

@ -1,9 +1,8 @@
%h1=@title
%h2 Error details
%code.signature{class: "#{@report.source}-signature"}
= "#{@report.signature.gsub(/\n\s+/, '<br>&nbsp;nbsp;')}".html_safe
%code.backtrace{class: "#{@report.source}-backtrace"}=@report.backtrace
%code.signature{class: "#{@report.source}-signature"}=@report.signature
%code.backtrace{class: "#{@report.source}-backtrace"}=@report.backtrace.gsub(/\n\s+/, '<br>&nbsp;nbsp;').html_safe
%h2 Request details
.request-details

Loading…
Cancel
Save