Skip to content

Commit

Permalink
slightly better exception template example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 13, 2013
1 parent f17c8b7 commit b1dfa58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -365,8 +365,10 @@ templates.
<html>
<head><title>Server error</title></head>
<body>
<p>Exception:<%= $exception->message %></p>
<p>Stash:<%= dumper $snapshot %></p>
<h1>Exception</h1>
<p><%= $exception->message %></p>
<h1>Stash</h1>
<pre><%= dumper $snapshot %></pre>
</body>
</html>

Expand Down

0 comments on commit b1dfa58

Please sign in to comment.