Sha256: 08f649c549293de393c01ec254caa51d8c4429f0bc9d3c8bf412ec09c535aa5d

Contents?: true

Size: 974 Bytes

Versions: 6

Compression:

Stored size: 974 Bytes

Contents

<table class='table datatable jobs-datatable' data-turbolinks='false' 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

6 entries across 6 versions & 1 rubygems

Version Path
rocketjob_mission_control-6.1.0 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-6.0.7 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-6.0.6 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-6.0.5 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-6.0.4 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-6.0.3 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb