Sha256: f3588d7e4677c34bdda2e8bce9baf2fcc4639d1ed82b9036f786e77f42d777fe

Contents?: true

Size: 1.51 KB

Versions: 43

Compression:

Stored size: 1.51 KB

Contents

<header>
  <h1>
    <%= @exception.class.to_s %>
    <% if params_valid? && @request.parameters['controller'] %>
      in <%= @request.parameters['controller'].camelize %>Controller<% if @request.parameters['action'] %>#<%= @request.parameters['action'] %><% end %>
    <% end %>
  </h1>
</header>

<div id="container">
  <h2>
    <%= h @exception.message %>

    <%= render "rescues/actions", exception: @exception, request: @request %>
  </h2>

  <%= render "rescues/source", source_extracts: @source_extracts, show_source_idx: @show_source_idx, error_index: 0 %>
  <%= render "rescues/trace", traces: @traces, trace_to_show: @trace_to_show, error_index: 0 %>

  <% if @exception.cause %>
    <h2>Exception Causes</h2>
  <% end %>

  <% @exception_wrapper.wrapped_causes.each.with_index(1) do |wrapper, index| %>
    <div class="details">
      <a class="summary" href="#" style="color: #F0F0F0; text-decoration: none; background: #C52F24; border-bottom: none;" onclick="return toggle(<%= wrapper.exception.object_id %>)">
        <%= wrapper.exception.class.name %>: <%= h wrapper.exception.message %>
      </a>
    </div>

    <div id="<%= wrapper.exception.object_id %>" style="display: none;">
      <%= render "rescues/source", source_extracts: wrapper.source_extracts, show_source_idx: wrapper.source_to_show_id, error_index: index %>
      <%= render "rescues/trace", traces: wrapper.traces, trace_to_show: wrapper.trace_to_show, error_index: index %>
    </div>
  <% end %>

  <%= render template: "rescues/_request_and_response" %>
</div>

Version data entries

43 entries across 41 versions & 5 rubygems

Version Path
actionpack-6.0.3 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-6.0.3.rc1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-6.0.2.2 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-6.0.2.1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-6.0.2 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-6.0.2.rc2 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-6.0.2.rc1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/actionpack-6.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-6.0.1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
actionpack-6.0.1.rc1 lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/actionpack-6.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb