mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Include headers in error message.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
{{ trans('email.error_ip', { ip: ip }) }} (<a href="https://ipinfo.io/{{ ip }}/json?token={{ token }}">info</a>)<br />
|
||||
{{ trans('email.error_url', {url :url }) }}<br />
|
||||
{{ trans('email.error_user_agent', {userAgent: userAgent }) }}
|
||||
</p>
|
||||
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
@@ -42,4 +41,16 @@
|
||||
<p style="font-family: monospace;font-size:11px;color:#aaa">
|
||||
{{ stackTrace|nl2br }}
|
||||
</p>
|
||||
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
{{ trans('email.error_headers') }}
|
||||
</p>
|
||||
<p style="font-family: monospace;font-size:11px;color:#aaa">
|
||||
{% for key, header in headers %}
|
||||
{% if (key != 'cookie') and header[0] != '' %}
|
||||
- {{ key }}: {{ header[0] }}<br>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
|
||||
{% include 'emails.footer-html' %}
|
||||
|
Reference in New Issue
Block a user