Some changes to the error handler

This commit is contained in:
James Cole
2016-02-11 14:13:23 +01:00
parent f1750e3c35
commit 43ff3e11ed
3 changed files with 18 additions and 7 deletions

View File

@@ -4,8 +4,12 @@ This error occured in file "{{ file }}" on line {{ line }} with code {{ code }}.
{% if loggedIn %}
The error was encountered by user #{{ user.id }}, {{ user.email }}.
{% else}
There was no user logged in for this error or no user was detected.
{% endif %}
The IP address related to this error is: {{ ip }}
The full stacktrace is below. If you think this is a bug in Firefly III, you
can forward this message to thegrumpydictator@gmail.com. This can help fix
the bug you just encountered.