Update MysqlArray.php
This commit is contained in:
parent
0cc1627220
commit
26d746d749
@ -239,7 +239,7 @@ class MysqlArray extends SqlArray
|
|||||||
private function request(string $query, array $params = []): Promise
|
private function request(string $query, array $params = []): Promise
|
||||||
{
|
{
|
||||||
return call(function () use ($query, $params) {
|
return call(function () use ($query, $params) {
|
||||||
Logger::log([$query, $params], Logger::VERBOSE);
|
//Logger::log([$query, $params], Logger::VERBOSE);
|
||||||
|
|
||||||
if (empty($this->db) || !$this->db->isAlive()) {
|
if (empty($this->db) || !$this->db->isAlive()) {
|
||||||
Logger::log('No database connection', Logger::WARNING);
|
Logger::log('No database connection', Logger::WARNING);
|
||||||
|
Loading…
Reference in New Issue
Block a user