We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f51459 commit 466ab38Copy full SHA for 466ab38
lib/resque/server/views/failed.erb
@@ -28,9 +28,9 @@
28
</div>
29
</dd>
30
<dt>Class</dt>
31
- <dd><code><%= job['payload']['class'] %></code></dd>
+ <dd><code><%= job['payload'] ? job['payload']['class'] : 'nil' %></code></dd>
32
<dt>Arguments</dt>
33
- <dd><pre><%=h show_args(job['payload']['args']) %></pre></dd>
+ <dd><pre><%=h job['payload'] ? show_args(job['payload']['args']) : 'nil' %></pre></dd>
34
<dt>Exception</td>
35
<dd><code><%= job['exception'] %></code></dd>
36
<dt>Error</dt>
0 commit comments