We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bca7c5a + 641745e commit 3e45be2Copy full SHA for 3e45be2
app/Exceptions/Handler.php
@@ -44,7 +44,12 @@ class Handler extends ExceptionHandler
44
public function register(): void
45
{
46
$this->reportable(function (Throwable $e): void {
47
- Log::info($e);
+ Log::error($e->getMessage(), [
48
+ 'exception' => get_class($e),
49
+ 'file' => $e->getFile(),
50
+ 'line' => $e->getLine(),
51
+ 'trace' => $e->getTraceAsString()
52
+ ]);
53
});
54
}
55
0 commit comments