From 0f359069309bdf597d09dbf83d794434385e7275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Wed, 17 Feb 2021 16:27:45 +0100 Subject: [PATCH] :sparkles: Add internal links for long error reports --- backend/resources/error-report.tmpl | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/backend/resources/error-report.tmpl b/backend/resources/error-report.tmpl index be4df1196..a04f0df6b 100644 --- a/backend/resources/error-report.tmpl +++ b/backend/resources/error-report.tmpl @@ -143,8 +143,18 @@ {% endif %} + {% if explain %} +
(go to explain)
+ {% endif %} + {% if data %} +
(go to edata)
+ {% endif %} + {% if error %} +
(go to trace)
+ {% endif %} + {% if params %} -
+
PARAMS:
{{params}}
@@ -153,7 +163,7 @@ {% endif %} {% if explain %} -
+
EXPLAIN:
{{explain}}
@@ -162,7 +172,7 @@ {% endif %} {% if data %} -
+
EDATA:
{{data}}
@@ -171,7 +181,7 @@ {% endif %} {% if error %} -
+
TRACE:
{{error.trace}}