mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
31 lines
1 KiB
Text
31 lines
1 KiB
Text
|
<%= erb :_job_info, :locals => {:job => @dead, :type => :dead} %>
|
||
|
|
||
|
<h3><%= t('Error') %></h3>
|
||
|
<table class="error table table-bordered table-striped">
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<th><%= t('ErrorClass') %></th>
|
||
|
<td>
|
||
|
<code><%= @dead['error_class'] %></code>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th><%= t('ErrorMessage') %></th>
|
||
|
<td><%= h(@dead['error_message']) %></td>
|
||
|
</tr>
|
||
|
<% if !@dead['error_backtrace'].nil? %>
|
||
|
<tr>
|
||
|
<th><%= t('ErrorBacktrace') %></th>
|
||
|
<td>
|
||
|
<code><%= @dead['error_backtrace'].join("<br/>") %></code>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<form class="form-horizontal" action="<%= root_path %>morgue/<%= job_params(@dead, @dead.score) %>" method="post">
|
||
|
<a class="btn btn-default" href="<%= root_path %>morgue"><%= t('GoBack') %></a>
|
||
|
<input class="btn btn-primary" type="submit" name="retry" value="<%= t('RetryNow') %>" />
|
||
|
<input class="btn btn-danger" type="submit" name="delete" value="<%= t('Delete') %>" />
|
||
|
</form>
|