<%= js :expected %> <%= js :bootstrap %>

Expected failures log <% if @date %> (<%= @date %>) <% end %>

<% unless @counters.empty? %>
Clear counters
<% @counters.each do |exception, count| %>
<%= exception %>
<%= count %>
<% end %>
<% end %> <% if @jobs.any? %>
Clear older than today  Clear all failed

<% @jobs.each do |job| %> <% end %>
Datetime Worker Exception Queue Arguments
<%= Time.parse(job['failed_at']).strftime('%m/%d/%Y %H:%M:%S') %> <%= job["worker"] %> <%= job["exception"] %> (<%= job["error"]%>) "><%= job["queue"] %> <%= link_to_details(job) %>
<%= erb :_paging, :locals => { :url => "#{root_path}expected_failures/#{@date}" } %> <% else %>
No failed jobs found.
<% end %>