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:
commit
aa5956f1eb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue