This commit is contained in:
2023-12-13 19:13:53 +08:00
parent bca45371bc
commit 3ffb60e78f
+1 -1
View File
@@ -938,7 +938,7 @@ if (!function_exists('throwable')) {
if (is_string($throwable)) {
return $throwable;
}
$message = "\033[31m" . $throwable::class . ' ' . $throwable->getMessage() . "\033[0m" . PHP_EOL . $throwable->getFile() . " at line " . $throwable->getLine() . PHP_EOL;
$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;