Merge pull request #10550 from nextcloud/fix/noid/do_not_log_to_error

Do not log to error loglevel when converting the error
This commit is contained in:
Roeland Jago Douma 2018-08-06 19:59:29 +02:00 committed by GitHub
commit aa5956f1eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);