Sha256: 179a0db0cc23503031ce9096a5315947e11c1be63bff39f3575c002eeaf57579

Contents?: true

Size: 950 Bytes

Versions: 7

Compression:

Stored size: 950 Bytes

Contents

<table class='table datatable jobs-datatable' data-source='<%= jobs_url(format: 'json') %>' style='width: 100%'>
  <thead>
  <tr>
    <th>Count</th>
    <th>Exception Class</th>
    <th>Exception Messages</th>
  </tr>
  </thead>

  <tbody>
  <% @job.input.group_exceptions.each do |exception| %>
    <tr>
      <th><%= exception.count %></th>
      <th><%= link_to(exception.class_name, exception_job_path(@job, error_type: exception.class_name), class: "card callout") %></th>

      <th>
        <% exception.messages.each do |message| %>
          <div><%= message %></div>
        <% end %>
      </th>

      <% if can?(:view_slice, @job) %>
      <th>
        <div>
          <%= link_to 'View Slice', view_slice_job_path(@job, error_type: exception.class_name, record_number: @job.input.failed.first.processing_record_number), class: 'btn btn-primary' %>
        </div>
      </th>
      <% end %>

    </tr>
  <% end %>
  </tbody>
</table>


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rocketjob_mission_control-6.0.2 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-6.0.1 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-6.0.0 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-6.0.0.beta app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-5.0.1 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-5.0.0 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-5.0.0.beta1 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb