mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some changes to the error handler
This commit is contained in:
@@ -12,11 +12,17 @@
|
||||
This error occured in file <span style="font-family: monospace;">{{ file }}</span> on line {{ line }} with code {{ code }}.
|
||||
</p>
|
||||
|
||||
{% if loggedIn %}
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
The error was encountered by user #{{ user.id }}, <a href="mailto:{{ user.email }}">{{ user.email }}</a>.
|
||||
{% if loggedIn %}
|
||||
The error was encountered by user #{{ user.id }}, <a href="mailto:{{ user.email }}">{{ user.email }}</a>.
|
||||
{% else %}
|
||||
There was no user logged in for this error or no user was detected.
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
The IP address related to this error is: {{ ip }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
The full stacktrace is below. If you think this is a bug in Firefly III, you
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user