Skip to content

Commit

Permalink
tweak exception output
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.techno-weenie.net/projects/plugins/exception_logger@1276 567b1171-46fb-0310-a4c9-b4bef9110e78
  • Loading branch information
technoweenie committed Jun 26, 2006
1 parent 1449487 commit 186d9b1
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions views/logged_exceptions/_show.rhtml
Expand Up @@ -12,29 +12,18 @@
<%= @exc.exception_class %> in <%= @exc.controller_name.camelcase %>/<%= @exc.action_name %>
</h1>

<p class="intro">
<%= @exc.message %>
</p>


<ul class="tabs">
<li class="selected"><a href="">Backtrace</a></li>
<li><a href="">Environment</a></li>
<li><a href="">Request</a></li>
</ul>
<h2>Request</h2>

<br style="clear:left;" />
<%= textilize(@exc.request) %>

<h2>Backtrace</h2>

<%= content_tag 'p', @exc.message, :class => 'intro' %>

<div id="backtrace">
<%=h(@exc.backtrace).gsub(/\n/,"<br />") %>
</div>

<h2>Environment</h2>

<%= textilize(@exc.environment) %>

<h2>Request</h2>

<%= textilize(@exc.request) %>
<%= textilize(@exc.environment) %>

0 comments on commit 186d9b1

Please sign in to comment.