Friendly error message. [skip ci]

This commit is contained in:
James Cole 2017-02-05 18:49:13 +01:00
parent 3a7faa7368
commit c6f69f63fc
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -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>