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 {
|
||||
$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