From 2b376b6aabe7884225fe8a59ca3833687d6253f7 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 6 Jul 2025 06:15:18 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20logError=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- f_config/config.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/f_config/config.php b/f_config/config.php index f3e3f05e..63d7c2f6 100644 --- a/f_config/config.php +++ b/f_config/config.php @@ -99,7 +99,10 @@ function logError(string $err, string $errstr, string $errpath, array $trace) $err = str_replace(ROOT, '{ROOT}', $err); $errstr = str_replace(ROOT, '{ROOT}', $errstr); $errpath = str_replace(ROOT, '{ROOT}', $errpath); - $trace = array_map(function (string $text) { + $trace = array_map(function (string|array $text) { + if (is_array($text)) { + $text = Json::encode($text); + } return str_replace(ROOT, '{ROOT}', $text); }, $trace);