Skip to content

Firefly III: a personal finances manager

Friendly error message. [skip ci]

James Colec6f69f63fc5c
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 @@
</p>
</div>
</div>
+ {% if not debug %}
+ <div class="row">
+ <div class="col-lg-12 col-md-12 col-sm-12">
+ <p>
+ 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.
+ </p>
+ <p>
+ If you cannot find the cause of this error or when you need some help, please open a ticket on
+ <strong><a href="https://github.com/firefly-iii/firefly-iii/issues/new">Github</a></strong>.
+ </p>
+ </div>
+ </div>
+ {% endif %}
</div>
{% if debug %}
@@ -51,5 +65,6 @@
</div>
</div>
{% endif %}
+
</body>
</html>