{% extends "django_observatory/base.html" %}{% load observatory %} {% block title %}{{ exc.exc_type }}{% endblock %}{% block heading %}{{ exc.exc_type }}{% endblock %} {% block sub %}Exceptions / occurrence of Issue #{{ exc.issue_id }}{% endblock %} {% block content %}
{{ exc.message }}

Context

Time
Location
{{ exc.file_name }}:{{ exc.line_number }} in {{ exc.function }}
Endpoint
{{ exc.method }} {{ exc.endpoint|default:"–" }}
Handled
{{ exc.handled|yesno:"yes (logged by the application),no (unhandled)" }}
User
{{ exc.user_id|default:"–" }}
Request
{% if exc.request_id %}{{ exc.request_id }}{% else %}–{% endif %}
Trace
{% if exc.trace_id %}{{ exc.trace_id }}{% else %}–{% endif %}
Deployment
{{ exc.service }} · {{ exc.environment }}{% if exc.release %} · {{ exc.release }}{% endif %}

Breadcrumbs (what happened just before)

{% if exc.breadcrumbs %}{% else %}

No breadcrumbs (raised outside a request or task).

{% endif %}

Stack trace (most recent call last; application frames emphasised)

{% for f in exc.frames %}
{{ f.file }}:{{ f.line }} in {{ f.function }}{% if f.in_app %} app{% endif %}{{ f.code }}
{% endfor %}
Raw traceback
{{ exc.stacktrace }}
{% endblock %}