This commit is contained in:
2023-04-16 02:46:54 +08:00
parent 656038dc7d
commit a660e1c08e
5 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ SCRIPT;
try {
$response = $client->{$name}(...$arguments);
} catch (\Throwable $throwable) {
$response = $this->logger->addError($throwable->getMessage());
$response = \Kiri::getLogger()->addError($throwable->getMessage());
} finally {
$pool = $this->container->get(Pool::class);
$pool->push($this->host, $client);