From c6f69f63fc5c278b38e51d4b67f4ca34779cf46a Mon Sep 17 00:00:00 2001
From: James Cole
Date: Sun, 5 Feb 2017 18:49:13 +0100
Subject: [PATCH] Friendly error message. [skip ci]
---
resources/views/errors/FireflyException.twig | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/resources/views/errors/FireflyException.twig b/resources/views/errors/FireflyException.twig
index 9d8343e04c..0e3499c8f3 100644
--- a/resources/views/errors/FireflyException.twig
+++ b/resources/views/errors/FireflyException.twig
@@ -38,6 +38,20 @@
+ {% if not debug %}
+
+
+
+ More information about this error may be available in the log files. Search for the error above and a stack trace
+ will appear. This stack trace may help you track down what's going wrong.
+
+
+ If you cannot find the cause of this error or when you need some help, please open a ticket on
+ Github.
+
+
+
+ {% endif %}
{% if debug %}
@@ -51,5 +65,6 @@
{% endif %}
+