lib/rack/insight/views/headers_fragment.html.erb in rack-insight-0.5.22 vs lib/rack/insight/views/headers_fragment.html.erb in rack-insight-0.5.23
- old
+ new
@@ -10,10 +10,10 @@
<% else %>
<a href="javascript:void(0);">
<%= panel.heading_for_request(request_id) %>
</a>
<% end %>
- <% rescue Object => ex %>
+ <% rescue StandardError => ex %>
Err5: <%= panel.name rescue "xxx" %>
<!-- Panel: <%= panel.inspect %> -->
<!-- <%= ([ex.class.name, ex.message] + ex.backtrace).join("\n") %> -->
<% end %>
</li>