Sha256: 5780e70ac261a5f041f247728b09d3e103dddb72c667ad4ebedea9a4e078e54d

Contents?: true

Size: 732 Bytes

Versions: 7

Compression:

Stored size: 732 Bytes

Contents

<% if error_msg.is_a?(Array) %>
  <%== partial 'shared/not_a_message' %>
<% else %>
  <% error = error_msg.payload %>

  <tr>
    <td>
      <span class="badge badge-secondary">
        <% if error[:details].key?(:topic) %>
          <%= error[:details][:topic] %>: <%= error[:details][:partition] %>
        <% else %>
          <%= error[:type] %>
        <% end %>
      </span>
    </td>
    <td>
      <%== error[:process][:id] %>
    </td>
    <td>
      <%= error[:error_class] %>:
      <%= error[:error_message][0..199] %>
    </td>
    <td>
      <%== relative_time error[:occurred_at] %>
    </td>
    <td>
      <%== link_button_primary_sm 'Details', root_path('errors', error_msg.offset) %>
    </td>
  </tr>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
karafka-web-0.10.3 lib/karafka/web/ui/views/errors/_error.erb
karafka-web-0.10.2 lib/karafka/web/ui/views/errors/_error.erb
karafka-web-0.10.1 lib/karafka/web/ui/views/errors/_error.erb
karafka-web-0.10.0 lib/karafka/web/ui/views/errors/_error.erb
karafka-web-0.10.0.rc2 lib/karafka/web/ui/views/errors/_error.erb
karafka-web-0.10.0.rc1 lib/karafka/web/ui/views/errors/_error.erb
karafka-web-0.10.0.beta1 lib/karafka/web/ui/views/errors/_error.erb