Fixed bug for mysql connection work not expect in not-coroutine.

This commit is contained in:
李铭昕 2019-01-19 11:02:21 +08:00
parent 209b28cd43
commit c4ff83309f

View File

@ -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
));