Include Firefly version in error mail [skip ci]

This commit is contained in:
James Cole 2017-03-21 06:28:06 +01:00
parent 61526df245
commit b7ef2211d9
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
3 changed files with 3 additions and 2 deletions

View File

@ -97,6 +97,7 @@ class Handler extends ExceptionHandler
'file' => $exception->getFile(), 'file' => $exception->getFile(),
'line' => $exception->getLine(), 'line' => $exception->getLine(),
'code' => $exception->getCode(), 'code' => $exception->getCode(),
'version' => config('firefly.version'),
]; ];
// create job that will mail. // create job that will mail.

View File

@ -1,6 +1,6 @@
{% include 'emails.header-html' %} {% include 'emails.header-html' %}
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;"> <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>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;"> <p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">

View File

@ -1,5 +1,5 @@
{% include 'emails.header-text' %} {% 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 }}". The error was of type "{{ class }}".