Browse Source
always log locking errors
Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/9388/head
Robin Appelman
8 years ago
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with
1 additions and
3 deletions
-
lib/private/Files/Storage/Common.php
|
|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|
|