Files
firefly-iii/resources/views/emails/error-text.twig

43 lines
1.1 KiB
Twig
Raw Normal View History

{% include 'emails.header-text' %}
2020-05-27 09:34:52 +02:00
{{ trans('email.error_intro', { version: version, errorMessage: errorMessage })|striptags|raw }}
2016-02-24 20:42:05 +01:00
{{ trans('email.error_type', {class: class })|raw }}
2016-02-24 20:42:05 +01:00
{{ trans('email.error_timestamp', {time: time })|raw }}
2016-02-10 15:18:13 +01:00
2020-05-27 09:34:52 +02:00
{{ trans('email.error_location', { file: file , line: line, code: code })|striptags|raw }}
2016-02-10 15:18:13 +01:00
2016-02-11 12:54:16 +01:00
{% if loggedIn %}
2020-05-27 09:34:52 +02:00
{{ trans('email.error_user', { id: user.id, email: user.email })|striptags|raw }}
{% else %}
{{ trans('email.error_no_user')|raw }}
2016-02-11 12:54:16 +01:00
{% endif %}
2020-05-27 09:34:52 +02:00
{{ trans('email.error_ip', { ip: ip }) }}
2022-04-03 12:38:17 +02:00
{{ method }} {{ trans('email.error_url', {url :url}) }}
2020-05-27 09:34:52 +02:00
{{ trans('email.error_user_agent', {userAgent: userAgent } ) }}
2016-02-11 14:13:23 +01:00
2020-05-27 09:34:52 +02:00
{{ trans('email.error_stacktrace')|striptags|raw }}
2016-02-10 15:18:13 +01:00
2020-05-27 09:34:52 +02:00
{{ trans('email.error_github_text' )|raw }}
2016-02-10 15:18:13 +01:00
{{ trans('email.error_stacktrace_below')|raw }}
2016-02-10 15:18:13 +01:00
2020-05-27 09:34:52 +02:00
{{ stackTrace|raw }}
2022-03-06 16:03:52 +01:00
{{ trans('email.error_headers') }}
{% for key, header in headers %}
2022-04-03 12:39:30 +02:00
{% if (key != 'cookie') and header[0] != '' and key != 'x-xsrf-token' %}
2022-03-06 16:03:52 +01:00
- {{ key }}: {{ header[0] }}
{% endif %}
{% endfor %}
2024-01-05 10:55:07 +01:00
{% if ('' != post) %}
2024-01-04 11:46:23 +01:00
{{ trans('email.error_post') }}
{{ post }}
{% endif %}
2022-03-06 16:03:52 +01:00
{% include 'emails.footer-text' %}