Include time and date for errors.

This commit is contained in:
James Cole
2016-02-24 20:42:05 +01:00
parent dd1b4e21f5
commit 2cc5fdcf62
4 changed files with 17 additions and 3 deletions

View File

@@ -72,6 +72,7 @@ class Handler extends ExceptionHandler
$data = [
'class' => get_class($exception),
'errorMessage' => $exception->getMessage(),
'time' => date('r'),
'stackTrace' => $exception->getTraceAsString(),
'file' => $exception->getFile(),
'line' => $exception->getLine(),