always log locking errors

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2018-05-04 13:30:43 +02:00
parent a070c1177a
commit bc1a17a9e2
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 1 additions and 3 deletions

View File

@ -772,9 +772,7 @@ abstract class Common implements Storage, ILockingStorage {
try {
$provider->changeLock('files/' . md5($this->getId() . '::' . trim($path, '/')), $type);
} catch (LockedException $e) {
if ($logger) {
$logger->logException($e);
}
\OC::$server->getLogger()->logException($e);
throw $e;
}
}