Skip to content

Commit 68018b5

Browse files
committedNov 4, 2024·
Add detail to output
1 parent d8a09b8 commit 68018b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Exceptions/Handler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Handler extends \Illuminate\Foundation\Exceptions\Handler
99
public function register(): void
1010
{
1111
$this->reportable(function (\Throwable $e) {
12-
error_log('[NATIVE_EXCEPTION]: '.$e->getMessage());
12+
error_log("[NATIVE_EXCEPTION]: {$e->getMessage()} ({$e->getCode()}) in {$e->getFile()}:{$e->getLine()}");
1313
});
1414
}
1515
}

0 commit comments

Comments
 (0)
Please sign in to comment.