8000
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.
1 parent d8a09b8 commit 68018b5Copy full SHA for 68018b5
src/Exceptions/Handler.php
@@ -9,7 +9,7 @@ class Handler extends \Illuminate\Foundation\Exceptions\Handler
9
public function register(): void
10
{
11
$this->reportable(function (\Throwable $e) {
12
- error_log('[NATIVE_EXCEPTION]: '.$e->getMessage());
+ error_log("[NATIVE_EXCEPTION]: {$e->getMessage()} ({$e->getCode()}) in {$e->getFile()}:{$e->getLine()}");
13
});
14
}
15
0 commit comments