From 127bcb7adc31414f86d400de6a02ccf3161ea909 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 24 Apr 2021 20:12:38 +0800 Subject: [PATCH] modify --- System/Abstracts/BaseObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Abstracts/BaseObject.php b/System/Abstracts/BaseObject.php index bb557a4b..9dcd0941 100644 --- a/System/Abstracts/BaseObject.php +++ b/System/Abstracts/BaseObject.php @@ -113,7 +113,7 @@ class BaseObject implements Configure $format .= 'File: ' . $message->getFile() . PHP_EOL; $format .= 'Line: ' . $message->getLine(); - $this->error(array_slice($message->getTrace(), 0, 6)); + $this->error(var_export(array_slice($message->getTrace(), 0, 6))); $this->error($format); } else { if (!is_string($message)) {