mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Include time and date for errors.
This commit is contained in:
@@ -72,6 +72,7 @@ class Handler extends ExceptionHandler
|
|||||||
$data = [
|
$data = [
|
||||||
'class' => get_class($exception),
|
'class' => get_class($exception),
|
||||||
'errorMessage' => $exception->getMessage(),
|
'errorMessage' => $exception->getMessage(),
|
||||||
|
'time' => date('r'),
|
||||||
'stackTrace' => $exception->getTraceAsString(),
|
'stackTrace' => $exception->getTraceAsString(),
|
||||||
'file' => $exception->getFile(),
|
'file' => $exception->getFile(),
|
||||||
'line' => $exception->getLine(),
|
'line' => $exception->getLine(),
|
||||||
|
@@ -45,7 +45,7 @@ return [
|
|||||||
'beanstalkd' => [
|
'beanstalkd' => [
|
||||||
'driver' => 'beanstalkd',
|
'driver' => 'beanstalkd',
|
||||||
'host' => 'localhost',
|
'host' => 'localhost',
|
||||||
'queue' => 'default',
|
'queue' => 'firefly',
|
||||||
'ttr' => 60,
|
'ttr' => 60,
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@@ -6,8 +6,17 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<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> of class (type) "{{ class }}".
|
Firefly III 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;">
|
||||||
|
The error was of type "{{ class }}".
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
|
||||||
|
The error occured on/at: {{ time }}.
|
||||||
|
</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;">
|
||||||
This error occured in file <span style="font-family: monospace;">{{ file }}</span> on line {{ line }} with code {{ code }}.
|
This error occured in file <span style="font-family: monospace;">{{ file }}</span> on line {{ line }} with code {{ code }}.
|
||||||
</p>
|
</p>
|
||||||
|
@@ -1,4 +1,8 @@
|
|||||||
Firefly III ran into an error: {{ errorMessage }} of class (type) "{{ class }}".
|
Firefly III ran into an error: {{ errorMessage }}.
|
||||||
|
|
||||||
|
The error was of type "{{ class }}".
|
||||||
|
|
||||||
|
The error occured on/at: {{ time }}.
|
||||||
|
|
||||||
This error occured in file "{{ file }}" on line {{ line }} with code {{ code }}.
|
This error occured in file "{{ file }}" on line {{ line }} with code {{ code }}.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user