Clean backtraces in uploads/show, static/error.json.

This commit is contained in:
evazion
2018-09-23 11:44:45 -05:00
parent 3414d27c78
commit b4cf423058
5 changed files with 21 additions and 13 deletions

View File

@@ -0,0 +1,7 @@
<%# backtrace %>
<ul class="backtrace">
<% Rails.backtrace_cleaner.clean(backtrace).each do |b| %>
<li class="backtrace-line"><%= b %></li>
<% end %>
</ul>