Sha256: f4ea4cc6524dfdb03582551f5479ae5e1af128b23e293143e3741903c941d0d7

Contents?: true

Size: 876 Bytes

Versions: 7

Compression:

Stored size: 876 Bytes

Contents

<% if error_msg.is_a?(Integer) %>
  <tr>
    <td colspan="5" class="text-center text-muted">
      This error has either been removed or compacted and is no longer available.
    </td>
  </tr>
<% else %>
  <% error = error_msg.payload %>

  <tr>
    <td>
      <% if error[:details].key?(:topic) %>
        <%= error[:details][:topic] %>: <%= error[:details][:partition] %>
      <% else %>
        <%= error[:type] %>
      <% end %>
    </td>
    <td>
      <%== error[:process_name] %>
    </td>
    <td>
      <%= error[:error_class] %>:
      <%= error[:error_message].first(200) %>
    </td>
    <td>
      <%== relative_time error[:occurred_at] %>
    </td>
    <td class="text-center">
      <a href="<%= root_path('errors', error_msg.partition, error_msg.offset) %>" class="btn btn-sm btn-secondary text-white">
        Details
      </a>
    </td>
  </tr>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
karafka-web-0.5.2 lib/karafka/web/ui/pro/views/errors/_error.erb
karafka-web-0.5.1 lib/karafka/web/ui/pro/views/errors/_error.erb
karafka-web-0.5.0 lib/karafka/web/ui/pro/views/errors/_error.erb
karafka-web-0.4.1 lib/karafka/web/ui/pro/views/errors/_error.erb
karafka-web-0.4.0 lib/karafka/web/ui/pro/views/errors/_error.erb
karafka-web-0.3.1 lib/karafka/web/ui/pro/views/errors/_error.erb
karafka-web-0.3.0 lib/karafka/web/ui/pro/views/errors/_error.erb