2024-06-11 07:15:05 +00:00
|
|
|
<table class="table table-striped table-dark">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th style="width: 200px">Created At</th>
|
|
|
|
<th>Code</th>
|
|
|
|
<th style="width: 100px">Commit</th>
|
2024-10-21 06:36:59 +00:00
|
|
|
<th>Source</th>
|
2024-06-11 07:15:05 +00:00
|
|
|
<th>Message</th>
|
|
|
|
<th>Stacktrace</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% @exceptions.each do |exception| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= compact_time(exception.created_at) %></td>
|
|
|
|
<td><%= exception.code %></td>
|
|
|
|
<td><%= exception.version.present? ? link_to(exception.version, GitHelper.commit_url(exception.version)) : "Unknown" %></td>
|
2024-10-21 06:36:59 +00:00
|
|
|
<td><%= exception.extra_params["source"] %></td>
|
2024-06-11 07:15:05 +00:00
|
|
|
<td><%= truncate(exception.message, length: 50) %></td>
|
2024-08-06 10:57:00 +00:00
|
|
|
<td><%= link_to("View", admin_exception_path(exception)) %></td>
|
2024-06-11 07:15:05 +00:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="bg-dark pt-3 fixed-bottom">
|
|
|
|
<div class=" d-flex align-items-center justify-content-center">
|
|
|
|
<%== pagy_bootstrap_nav(@pagy) if @pagy.pages > 1 %>
|
|
|
|
</div>
|
|
|
|
</footer>
|
2024-08-06 10:28:38 +00:00
|
|
|
|
|
|
|
<% content_for(:page_title) do %>
|
|
|
|
Exceptions
|
|
|
|
<% end %>
|