<%# backtrace %>

<ul class="backtrace font-monospace p-4 mb-4">
  <% if defined?(exception) %>
    <li><%= exception.class.to_s %> exception raised</li>
  <% end %>

  <% Rails.backtrace_cleaner.clean(backtrace).each do |b| %>
    <li class="backtrace-line"><%= b %></li>
  <% end %>
</ul>
