always log locking errors
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
25565dd7d8
commit
94c15efad0
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue