We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
simonhamp
Learn more about funding links in repositories.
Report abuse
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