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 25565dd7d8
commit 94c15efad0
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 1 additions and 3 deletions

View File

@ -776,9 +776,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;
}
}