<% params['exceptions'].each do |e| %>
EXCEPTION
----------
<% if e.respond_to?(:name) %>
Name: <%= e.name.to_s.split("_").map {|x| x.capitalize}.join(" ") %>
<% end %>
<% if e.respond_to?(:status) %>
Status Code: <%= e.status %>
<% end %>
Merb Exception Class: <%= e.class %>
Message: <%= e.message %>


BACKTRACE
----------
<%= (e.backtrace || []).join("\n") %>


<% end %>
REQUEST
--------
URL: <%= params['request_url'] %>
Controller: <%= params['request_controller'] %>
Action:  <%= params['request_action'] %>


PARAMETERS
-----------
<% params['request_params'].each do |key,value| %>
<%= key %>: <%= value %>
<% end %>


ENVIRONMENT
------------
<% params['environment'].each do |key,value| %>
<%= key %>: <%= value %>
<% end %>
