This commit is contained in:
2023-12-13 19:23:24 +08:00
parent 299def8f02
commit 37270e8e65
+1 -1
View File
@@ -942,7 +942,7 @@ if (!function_exists('throwable')) {
$line = $throwable->getLine();
$trance = $throwable->getTrace();
$current = array_pop($trance);
$current = array_shift($trance);
$message .= ' Trance: ' . $current['file'] . ' -> ' . (isset($current['class']) ? $current['class'] . '::' : '') . ($current['function'] ?? 'Closure') . ' line ' . $line . PHP_EOL;
foreach ($trance as $value) {