diff options
Diffstat (limited to 'lib/private/CapabilitiesManager.php')
-rw-r--r-- | lib/private/CapabilitiesManager.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/CapabilitiesManager.php b/lib/private/CapabilitiesManager.php index fc8f14a7a83..fb272764597 100644 --- a/lib/private/CapabilitiesManager.php +++ b/lib/private/CapabilitiesManager.php @@ -55,7 +55,11 @@ class CapabilitiesManager { try { $c = $capability(); } catch (QueryException $e) { - $this->logger->error('CapabilitiesManager: {message}', ['app' => 'core', 'message' => $e->getMessage()]); + $this->logger->logException($e, [ + 'message' => 'CapabilitiesManager', + 'level' => \OCP\Util::ERROR, + 'app' => 'core', + ]); continue; } |