Kiss Exception Report

<%=h exception.class %>

<%=(h exception.message).gsub(/\n/,'
') %>

<% if env %>
Where <%=h frames.first.filename %>: in <%=h frames.first.function %>, line <%=h frames.first.lineno %>
<%=h req.request_method %> URL <%= h(url + (env['rack.request.query_string'] ? "?#{env['rack.request.query_string']}" : '')) %>
Referer <%=h env['HTTP_REFERER'] || 'None' %>
Context
<% end %>

Traceback (innermost first)

<% if env %>

Additional information

GET

<% unless req.GET.empty? %> <% req.GET.sort_by { |k, v| k.to_s }.each { |key, val| %> <% } %>
Variable Value
<%=h key %>
<%=h val.inspect %>
<% else %>

No GET data.

<% end %>

POST

<% unless req.POST.empty? %> <% req.POST.sort_by { |k, v| k.to_s }.each { |key, val| %> <% } %>
Variable Value
<%=h key %>
<%=h val.inspect %>
<% else %>

No POST data.

<% end %>

Cache

<%=h cache.inspect %>

Last SQL

<% if sql %><%=(h sql).gsub(/\n/,'
') %>
<% else %>n/a<% end %>

<% unless req.cookies.empty? %> <% req.cookies.each { |key, val| %> <% } %>
Variable Value
<%=h key %>
<%=h val.inspect %>
<% else %>

No cookie data.

<% end %>

Rack ENV

<% env.sort_by { |k, v| k.to_s }.each { |key, val| %> <% } %>
Variable Value
<%=h key %>
<%=w h val %>
<% end %>
Generated at <%= Time.now.hm_mdy_full %> (<%= Time.now.zone %>).