Sha256: 41f5def047d8f90ed6f9d7cedb25e295c16457c2d22377a817b470c911963e2f

Contents?: true

Size: 847 Bytes

Versions: 7

Compression:

Stored size: 847 Bytes

Contents

<%
  type = @error_message.payload[:type]
  error_class = @error_message.payload[:error_class]

  view_title("#{type}: #{error_class}")
%>

<div class="col-span-12 mb-3">
  <h2 class="h2">
    Metadata
  </h2>

  <div class="data-table-wrapper">
    <table class="data-table">
      <tbody>
        <% @error_message.payload.each do |k, v| %>
          <% next if k == :backtrace %>
          <%==
            partial(
              'errors/detail',
              locals: {
                k: k,
                v: v
              }
            )
          %>
        <% end %>
      </tbody>
    </table>
  </div>
</div>

<div class="col-span-12 mb-3">
  <h2 class="h2">
    Backtrace
  </h2>

  <pre class="mb-5 p-0 border border-gray-300 text-sm"><code class="wrapped json p-0 m-0"><%= @error_message.payload[:backtrace] %></code></pre>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

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