Sha256: 72fe9a9120ffba61ee4cd9052fa0cc3ff10793c2753b582b033ef8d1583c99d6

Contents?: true

Size: 956 Bytes

Versions: 4

Compression:

Stored size: 956 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["exception"]["record_number"] ), class: 'btn btn-primary' %>
        </div>
      </th>
      <% end %>

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


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rocketjob_mission_control-4.3.0 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-4.2.1 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-4.2.0 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb
rocketjob_mission_control-4.1.0 app/views/rocket_job_mission_control/jobs/_exceptions.html.erb