From 4fbbbe0cfec8855eef074468cfae9664694158b9 Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 13 Dec 2023 19:05:44 +0800 Subject: [PATCH] eee --- Command.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Command.php b/Command.php index f481a9d..15ff8bc 100644 --- a/Command.php +++ b/Command.php @@ -133,7 +133,7 @@ class Command extends Component $errorMsg = $throwable->getMessage() . PHP_EOL . ' Sql: ' . $this->sql . '.' . json_encode($this->params); - return $this->getLogger()->failure($errorMsg, 'mysql'); + return $this->getLogger()->failure($errorMsg . PHP_EOL, 'mysql'); } finally { $this->connection->release($client); } @@ -174,7 +174,7 @@ class Command extends Component $errorMsg = $throwable->getMessage() . PHP_EOL . ' Sql: ' . $this->sql . '.' . json_encode($this->params); - return $this->getLogger()->failure($errorMsg, 'mysql'); + return $this->getLogger()->failure($errorMsg . PHP_EOL, 'mysql'); } finally { $this->connection->release($client); }