diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-22 14:38:50 +0300 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-24 18:21:28 +0300 |
commit | f1febfe696693140a1ce4d4ed66cb96a68e6467b (patch) | |
tree | 1052faf2a4a07e4f09064c5cf32cd27549a2dd25 /lib | |
parent | 3546cfba1cc8f103554d1c91a7f81050ff5f0c2a (diff) |
Fix log level for exception in QueryBuilder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/DB/QueryBuilder/QueryBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/QueryBuilder/QueryBuilder.php b/lib/private/DB/QueryBuilder/QueryBuilder.php index c2f99143660..4ecfd773492 100644 --- a/lib/private/DB/QueryBuilder/QueryBuilder.php +++ b/lib/private/DB/QueryBuilder/QueryBuilder.php @@ -227,7 +227,7 @@ class QueryBuilder implements IQueryBuilder { } } catch (\Error $e) { // likely an error during conversion of $value to string - $this->logger->debug('DB QueryBuilder: error trying to log SQL query', ['exception' => $e]); + $this->logger->error('DB QueryBuilder: error trying to log SQL query', ['exception' => $e]); } } |