mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Include Firefly version in error mail [skip ci]
This commit is contained in:
parent
61526df245
commit
b7ef2211d9
@ -97,6 +97,7 @@ class Handler extends ExceptionHandler
|
||||
'file' => $exception->getFile(),
|
||||
'line' => $exception->getLine(),
|
||||
'code' => $exception->getCode(),
|
||||
'version' => config('firefly.version'),
|
||||
];
|
||||
|
||||
// create job that will mail.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{% include 'emails.header-html' %}
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
Firefly III ran into an error: <span style="font-family: monospace;">{{ errorMessage }}</span>
|
||||
Firefly III v{{ version }} ran into an error: <span style="font-family: monospace;">{{ errorMessage }}</span>
|
||||
</p>
|
||||
|
||||
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% include 'emails.header-text' %}
|
||||
Firefly III ran into an error: {{ errorMessage }}.
|
||||
Firefly III v{{ version }} ran into an error: {{ errorMessage }}.
|
||||
|
||||
The error was of type "{{ class }}".
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user