Sha256: ccd6e04aa1fede84d2ed97533a1eabf85534fcaa6f608f712df5b801a711fa68
Contents?: true
Size: 1.76 KB
Versions: 10
Compression:
Stored size: 1.76 KB
Contents
<li> <dl> <% if job.nil? %> <dt>Error</dt> <dd>Job <%= id %> could not be parsed; perhaps it contains invalid JSON?</dd> <% else %> <dt>Worker</dt> <dd> <a href="<%= u(:workers, job['worker']) %>"><%= job['worker'].split(':')[0...2].join(':') %></a> on <b class='queue-tag'><%= job['queue'] %></b > at <b><span class="time"><%= Time.parse(job['failed_at']).strftime(failed_date_format) %></span></b> <% if job['retried_at'] %> <div class='retried'> Retried <b><span class="time"><%= Time.parse(job['retried_at']).strftime(failed_date_format) %></span></b> <a href="<%= u "failed/remove/#{id}" %>" class="remove" rel="remove">Remove</a> </div> <% else %> <div class='controls'> <a href="<%= u "failed/requeue/#{id}" %>" rel="retry">Retry</a> or <a href="<%= u "failed/remove/#{id}" %>" rel="remove">Remove</a> </div> <% end %> </dd> <dt>Class</dt> <dd> <% if job['payload'] && job['payload']['class'] %> <a href="<%= u "failed/#{params[:queue]}?class=#{job['payload']['class']}" %>"> <code><%= job['payload']['class'] %></code> </a> <% else %> <code>nil</code> <% end %> </dd> <dt>Arguments</dt> <dd><pre><%=h job['payload'] ? show_args(job['payload']['args']) : 'nil' %></pre></dd> <dt>Exception</dt> <dd><code><%= job['exception'] %></code></dd> <dt>Error</dt> <dd class='error'> <% if job['backtrace'] %> <a href="#" class="backtrace"><%= h(job['error']) %></a> <pre style='display:none'><%=h job['backtrace'].join("\n") %></pre> <% else %> <%=h job['error'] %> <% end %> </dd> <% end %> </dl> <div class='r'> </div> </li>
Version data entries
10 entries across 10 versions & 3 rubygems