From 83f54386b7877ec66c70b79962d3cd73a17ac8a5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 15 Jul 2021 20:34:00 +0200 Subject: add error handling for hafas and efa requests --- templates/landing_page.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'templates/landing_page.html') diff --git a/templates/landing_page.html b/templates/landing_page.html index c5a04fd..b6a28cd 100644 --- a/templates/landing_page.html +++ b/templates/landing_page.html @@ -8,6 +8,15 @@ {% include 'navbar.html' %}
+ {% if error %} +
+
+ {{ error["lead"] }} + {{ error["body"] }} +
{{ error["code"] }}
+
+
+ {% endif %}
-- cgit v1.2.3