This commit is contained in:
2023-12-13 19:18:05 +08:00
parent 3ffb60e78f
commit 85ceb901bd
+1 -1
View File
@@ -939,9 +939,9 @@ if (!function_exists('throwable')) {
return $throwable;
}
$message = "\033[31m" . $throwable::class . ' ' . $throwable->getMessage() . "\033[0m" . PHP_EOL;
$message .= ' Trance: ' . PHP_EOL;
$message .= ' File: ' . $throwable->getFile() . PHP_EOL;
$message .= ' Line: ' . $throwable->getLine() . PHP_EOL;
$message .= ' Trance: ' . PHP_EOL;
$file = $throwable->getFile();
$line = $throwable->getLine();