view MoinMoin/support/werkzeug/debug/templates/traceback_summary.html @ 4670:06a744121699

updated werkzeug
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 30 Mar 2009 00:07:59 +0200
parents c689dfa55de1
children
line wrap: on
line source
<div class="traceback">
  <% if traceback.is_syntax_error %>
    <% if include_title %>
      <h3>Syntax Error</h3>
    <% endif %>
    <ul>
    <% for frame in traceback.frames %>
      <li>$frame.render()</li>
    <% endfor %>
    </ul>
    <pre>$escape(traceback.exception)</pre>
  <% else %>
    <% if include_title %>
      <h3>Traceback <em>(most recent call last)</em>:</h3>
    <% endif %>
    <ul>
    <% for frame in traceback.frames %>
      <li<% if frame.info %> title="$escape(frame.info, True)"<% endif %>>$frame.render()</li>
    <% endfor %>
    </ul>
    <blockquote>$escape(traceback.exception)</blockquote>
  <% endif %>
</div>