gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-survey] branch master updated: add missing error tem


From: gnunet
Subject: [GNUnet-SVN] [taler-survey] branch master updated: add missing error template
Date: Thu, 18 Jan 2018 19:07:41 +0100

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

dold pushed a commit to branch master
in repository survey.

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

commit d0e35fe1d8bac7238eb8dd5fa80fe4efb92e65a7
Author: Florian Dold <address@hidden>
AuthorDate: Thu Jan 18 19:07:37 2018 +0100

    add missing error template
---
 talersurvey/survey/templates/error.html | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/talersurvey/survey/templates/error.html 
b/talersurvey/survey/templates/error.html
new file mode 100644
index 0000000..0d4bd02
--- /dev/null
+++ b/talersurvey/survey/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]