clean up stack trace on delayed jobs index
This commit is contained in:
@@ -26,7 +26,10 @@
|
||||
<td class="col-expand"><%= raw print_handler(job) %></td>
|
||||
<% end %>
|
||||
<td><%= job.attempts %></td>
|
||||
<td class="col-expand"><%= job.last_error %></td>
|
||||
<td class="col-expand">
|
||||
<%= job.last_error.split(/\n/)[0] %>
|
||||
<%= job.last_error.split(/\n/)[1..-1].grep(/releases/).join("\n") %>
|
||||
</td>
|
||||
<td><%= time_ago_in_words_tagged(job.failed_at) if job.failed_at %></td>
|
||||
<td><%= time_ago_in_words_tagged(job.run_at) %></td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user