gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-donations] branch master updated: add error template


From: gnunet
Subject: [GNUnet-SVN] [taler-donations] branch master updated: add error template
Date: Mon, 22 Jan 2018 03:26:03 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository donations.

The following commit(s) were added to refs/heads/master by this push:
     new 1bb2269  add error template
1bb2269 is described below

commit 1bb22691db07ec59de3a8ec15386ed9fc501458a
Author: Florian Dold <address@hidden>
AuthorDate: Mon Jan 22 03:25:58 2018 +0100

    add error template
---
 talerdonations/donations/templates/error.html | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/talerdonations/donations/templates/error.html 
b/talerdonations/donations/templates/error.html
new file mode 100644
index 0000000..0d4bd02
--- /dev/null
+++ b/talerdonations/donations/templates/error.html
@@ -0,0 +1,22 @@
+{% extends "templates/base.html" %}
+{% block main %}
+  <h1>An Error Occurred</h1>
+
+  <p>{{ message }}</p>
+
+  {% if status_code %}
+  <p>The backend returned status code {{ status_code }}.</p>
+  {% endif %}
+
+  {% if json %}
+  <p>Backend Response:</p>
+  <pre>{{ json }}</pre>
+  {% endif %}
+
+  {% if stack %}
+  <p>Stack trace:</p>
+  <pre>
+    {{ stack }}
+  </pre>
+  {% endif %}
+{% endblock main %}

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]