From 5cb7fb73c6de73cb53d5d79d98c5a06a47837250 Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 29 Nov 2023 14:08:37 +0800 Subject: [PATCH] eee --- function.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function.php b/function.php index 80928fa8..8ea4cc64 100644 --- a/function.php +++ b/function.php @@ -923,7 +923,7 @@ if (!function_exists('throwable')) { if (is_string($throwable)) { return $throwable; } - $message = "\033[31m" . $throwable::class . ' ' . $throwable->getMessage() . "\033[0m" . PHP_EOL; + $message = "\033[31m" . '[' . date('Y-m-d H:i:s') . ']' . $throwable::class . ' ' . $throwable->getMessage() . "\033[0m" . PHP_EOL; $message .= $throwable->getFile() . " at line " . $throwable->getLine() . PHP_EOL; $file = $throwable->getFile();