summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-08-06 16:28:42 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-08-06 16:31:30 +0200
commit01bbd285307a0c6c0160cf4cf12882718f970bf0 (patch)
tree3b20a967407004a01fa26efce880b8826743aa8a /lib
parentf67d942fad1035d98e2ff53ec74eea28ab44e9f6 (diff)
downloadnextcloud-server-01bbd285307a0c6c0160cf4cf12882718f970bf0.tar.gz
nextcloud-server-01bbd285307a0c6c0160cf4cf12882718f970bf0.zip
Do not log to error loglevel when converting the error
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Storage/DAV.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php
index b5537b65747..abb76660ca8 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -827,7 +827,7 @@ class DAV extends Common {
* which might be temporary
*/
protected function convertException(Exception $e, $path = '') {
- \OC::$server->getLogger()->logException($e, ['app' => 'files_external']);
+ \OC::$server->getLogger()->logException($e, ['app' => 'files_external', 'level' => ILogger::DEBUG]);
if ($e instanceof ClientHttpException) {
if ($e->getHttpStatus() === Http::STATUS_LOCKED) {
throw new \OCP\Lock\LockedException($path);