Skip to content

Commit 2b53ec3

Browse files
committed
Fix log level for exception in QueryBuilder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 6483495 commit 2b53ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/DB/QueryBuilder/QueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public function execute() {
227227
}
228228
} catch (\Error $e) {
229229
// likely an error during conversion of $value to string
230-
$this->logger->debug('DB QueryBuilder: error trying to log SQL query', ['exception' => $e]);
230+
$this->logger->error('DB QueryBuilder: error trying to log SQL query', ['exception' => $e]);
231231
}
232232
}
233233

0 commit comments

Comments
 (0)