summaryrefslogtreecommitdiffstats
path: root/lib/private/Lock/NoopLockingProvider.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-06-30 18:10:42 +0200
committerRobin Appelman <robin@icewind.nl>2020-06-30 18:10:42 +0200
commitda2d4250446b6e2f921bd3de0420738881792bd3 (patch)
tree876c3a427de61033593de9e93a606654172fae79 /lib/private/Lock/NoopLockingProvider.php
parent26aa83890667202154ef086e27e769919fb56a47 (diff)
downloadnextcloud-server-da2d4250446b6e2f921bd3de0420738881792bd3.tar.gz
nextcloud-server-da2d4250446b6e2f921bd3de0420738881792bd3.zip
add proper paths to locking exceptions
while some code paths do wrap the "raw" locking exception into one with a proper path, not all of them do by adding the proper path to the original exception we ensure that we always have the usefull information in out logs Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Lock/NoopLockingProvider.php')
-rw-r--r--lib/private/Lock/NoopLockingProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Lock/NoopLockingProvider.php b/lib/private/Lock/NoopLockingProvider.php
index 94612e22f53..4f38d5159b9 100644
--- a/lib/private/Lock/NoopLockingProvider.php
+++ b/lib/private/Lock/NoopLockingProvider.php
@@ -46,7 +46,7 @@ class NoopLockingProvider implements ILockingProvider {
/**
* {@inheritdoc}
*/
- public function acquireLock(string $path, int $type) {
+ public function acquireLock(string $path, int $type, string $readablePath = null) {
// do nothing
}