summaryrefslogtreecommitdiff
path: root/talermerchantdemos/templates/blog-error.html.j2
blob: 5b2a381e4aba44ec662b224a39322dae71c0c686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "blog-base.html.j2" %}
{% block main %}
  <h1>{{ gettext("Error encountered") }}</h1>

  <p>{{ message }}</p>

  {% if status_code %}
  <p>
    {{ gettext ("The backend returned status code {code}.").format(code=status_code) }}.
  </p>
  {% endif %}

  {% if json %}
  <p>{{gettext("Backend response:")}}</p>
  <pre>{{ json }}</pre>
  {% endif %}

  {% if stack %}
  <p>{{gettext("Stack trace:")}}</p>
  <pre>
    {{ stack }}
  </pre>
  {% endif %}
{% endblock main %}