Sha256: f979b107719eac3480ad2df8ed5c1585cf89c7c021abfdd574343b42dfc9f510

Contents?: true

Size: 1.26 KB

Versions: 4

Compression:

Stored size: 1.26 KB

Contents

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

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

<div class="container">
  <div class="row mb-4">
    <div class="col-sm-12">
      <h5 class="mb-2">
        Metadata
      </h5>
      <hr/>
    </div>
  </div>

  <div class="row mb-5">
    <div class="col-sm-12 table-responsive">
      <table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle">
        <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="row mb-4">
    <div class="col-sm-12">
      <h5 class="mb-2">
        Backtrace
      </h5>
      <hr/>
    </div>
  </div>

  <div class="row mb-4">
    <div class="col-sm-12">
      <div class="card">
        <div class="card-body">
          <pre class="m-0 p-0"><code class="wrapped json p-0 m-0"><%= @error_message.payload[:backtrace] %></code></pre>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
karafka-web-0.6.3 lib/karafka/web/ui/pro/views/errors/show.erb
karafka-web-0.6.2 lib/karafka/web/ui/pro/views/errors/show.erb
karafka-web-0.6.1 lib/karafka/web/ui/pro/views/errors/show.erb
karafka-web-0.6.0 lib/karafka/web/ui/pro/views/errors/show.erb