always log locking errors
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
a070c1177a
commit
bc1a17a9e2
|
@ -772,9 +772,7 @@ abstract class Common implements Storage, ILockingStorage {
|
||||||
try {
|
try {
|
||||||
$provider->changeLock('files/' . md5($this->getId() . '::' . trim($path, '/')), $type);
|
$provider->changeLock('files/' . md5($this->getId() . '::' . trim($path, '/')), $type);
|
||||||
} catch (LockedException $e) {
|
} catch (LockedException $e) {
|
||||||
if ($logger) {
|
\OC::$server->getLogger()->logException($e);
|
||||||
$logger->logException($e);
|
|
||||||
}
|
|
||||||
throw $e;
|
throw $e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue