mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-03 12:17:48 +08:00
Fixed bug for mysql connection work not expect in not-coroutine.
This commit is contained in:
parent
209b28cd43
commit
c4ff83309f
@ -49,7 +49,7 @@ class Context
|
||||
$connection = $connections[$name];
|
||||
if (! $connection instanceof PoolConnectionInterface) {
|
||||
$this->logger->warning(sprintf(
|
||||
'Connection[] is not instanceof %s',
|
||||
'Connection[%s] is not instanceof %s',
|
||||
get_class($connection),
|
||||
PoolConnectionInterface::class
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user