Include headers in error message.

This commit is contained in:
James Cole
2022-03-06 16:03:52 +01:00
parent 2f55499f7d
commit 059bf32563
5 changed files with 34 additions and 4 deletions

View File

@@ -24,4 +24,14 @@
{{ trans('email.error_stacktrace_below')|raw }}
{{ stackTrace|raw }}
{{ trans('email.error_headers') }}
{% for key, header in headers %}
{% if (key != 'cookie') and header[0] != '' %}
- {{ key }}: {{ header[0] }}
{% endif %}
{% endfor %}
{% include 'emails.footer-text' %}