Websites/app/views/admin/exceptions/show.html.erb

24 lines
817 B
Plaintext

<div>
<div class="box-section">
<h3><%= @exception.class_name %></h3>
<pre><code><%= @exception.message %></code></pre>
<br>
<div>
Error Code: <%= @exception.code %><br/>
Created At: <%= compact_time @exception.created_at %><br/>
Commit: <%= @exception.version %><br/>
IP Address: <%= @exception.ip_addr %><br/>
</div>
</div>
<strong>Extra Params:</strong>
<pre class="box-section"><%= JSON.pretty_generate(@exception.extra_params) %></pre>
<strong>Stacktrace:</strong>
<pre class="box-section"><%= Rails.backtrace_cleaner.clean(@exception.trace.split("\n")).join("\n") %></pre>
<strong>Raw Stacktrace:</strong>
<pre class="box-section"><%= @exception.trace %></pre>
</div>
<% content_for(:page_title) do %>
Exceptions - <%= @exception.code %>
<% end %>