Browse Source

Fixed backtrace in error reports

development
Godwin 7 years ago
committed by GitHub
parent
commit
c32cf924fd
  1. 2
      app/views/user_mailer/error_report.html.haml

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

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

Loading…
Cancel
Save