Permalink
Browse files

Merge pull request #103 from dreyks/activejob

use Job's methods to output class and args
  • Loading branch information...
2 parents 6379587 + 33adb97 commit 4ff0e1756640bd8c77a9657ad7ea5cae73447091 @krasnoukhov krasnoukhov committed Dec 14, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/sidekiq/failures/views/failures.erb
@@ -39,9 +39,9 @@
<td>
<a href="<%= root_path %>queues/<%= entry.queue %>"><%= entry.queue %></a>
</td>
- <td><%= entry.klass %></td>
+ <td><%= entry.respond_to?(:display_class) ? entry.display_class : entry.klass %></td>
<td>
- <div class="args"><%= display_args(entry.args) %></div>
+ <div class="args"><%= display_args(entry.respond_to?(:display_args) ? entry.display_args : entry.args) %></div>
</td>
<td style="overflow: auto; padding: 10px;">
<a class="backtrace" href="#" onclick="$(this).next().toggle(); return false">

0 comments on commit 4ff0e17

Please sign in to comment.