{% extends "issues/base.html" %} {% load static %} {% load stricter_templates %} {% load issues %} {% load humanize %} {% load i18n %} {% block tab_content %} {% if not exceptions %} {# event-nav only #}
{{ event.ingested_at|date:"j M G:i T" }} (Event {{ event.digest_order|intcomma }} of {{ issue.digested_event_count|intcomma }} total{% if q %} — {{ event_qs_count|intcomma }} found by search{% endif %})
{% include "issues/_event_nav.html" %}
{% translate "No stacktrace available for this event." %}
{% endif %} {% for exception in exceptions %} {% if exception.is_exception_stacktrace or forloop.first %}
{# buttons above titles, or not? 'flips', because at 'xl:...' some space is eaten by the "Key Issue Info" box #}
{% if forloop.counter0 == 0 %}
{{ event.ingested_at|date:"j M G:i T" }} (Event {{ event.digest_order|intcomma }} of {{ issue.digested_event_count|intcomma }} total{% if q %} — {{ event_qs_count|intcomma }} found by search{% endif %})
{% endif %}

{% if exception.is_exception_stacktrace %}{{ exception.type }}{% else %}{{ event.title }}{% endif %}

{% if forloop.counter0 == 0 %}
{# pb-.. matches: 'buttons above titles, or not?' #}
Show
{% include "issues/_event_nav.html" %}
{% endif %}
{% if exception.is_exception_stacktrace %}
{{ exception.value }}
{% endif %}
{% endif %} {% if not exception.is_exception_stacktrace and multiple_thread_stacktraces %}

{{ exception.thread_title }}

{% if exception.thread_description %}
{{ exception.thread_description }}
{% endif %}
{% endif %} {% if not exception.is_exception_stacktrace and not exception.stacktrace.frames %}
No stacktrace found.
{% endif %} {% include "issues/_stacktrace_frames.html" %} {# #} {# per-exception div in the multi-exception case #} {% if exception.is_exception_stacktrace and not forloop.last %} {% if not stack_of_plates %}
During handling of the above exception another exception occurred or was intentionally reraised:
{# note: the above is specific to Python. We cannot distinguish between Python's 2 types of chained exceptions because the info is not sent by the client #} {# we could try to infer this from the stacktrace, but parsing potentially arbitrarily formatted partial code is brittle #} {% else %}
The above exception was caused by or intentially reraised during the handling of the following exception:
{% endif %} {% endif %} {% endfor %} {# for exception in exceptions #} {% if thread_stacktraces %}

Threads

{% for exception in thread_stacktraces %}

{{ exception.thread_title }}

{% if exception.thread_description %}
{{ exception.thread_description }}
{% endif %}
{% if not exception.stacktrace.frames %}
No stacktrace found.
{% endif %} {% include "issues/_stacktrace_frames.html" with is_thread_section=True %} {% endfor %} {% endif %} {% endblock %} {% block extra_js %} {% endblock %}