web/views/retry.erb in sidekiq-6.0.0 vs web/views/retry.erb in sidekiq-6.0.1
- old
+ new
@@ -12,14 +12,14 @@
</tr>
<tr>
<th><%= t('ErrorMessage') %></th>
<td><%= h(@retry['error_message']) %></td>
</tr>
- <% if !@retry['error_backtrace'].nil? %>
+ <% if @retry.error_backtrace %>
<tr>
<th><%= t('ErrorBacktrace') %></th>
<td>
- <code><%= @retry['error_backtrace'].join("<br/>") %></code>
+ <code><%= @retry.error_backtrace.join("<br/>") %></code>
</td>
</tr>
<% end %>
</tbody>
</table>