summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-06-25 23:33:14 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2020-06-25 23:34:41 +0200
commite984357cfc64bca9448604ab22fdadf7f5913dca (patch)
treefa0cd8b985875bee73aa1cfaffd765c58935243f /lib
parented4afa55c1ccaef140ac310258ad837bf6af9557 (diff)
downloadnextcloud-server-e984357cfc64bca9448604ab22fdadf7f5913dca.tar.gz
nextcloud-server-e984357cfc64bca9448604ab22fdadf7f5913dca.zip
Set retry = false for forbidden exception.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Storage/DAV.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php
index 2974064f3a5..269cd49b4e1 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -858,7 +858,7 @@ class DAV extends Common {
return;
} elseif ($e->getHttpStatus() === Http::STATUS_FORBIDDEN) {
// The operation is forbidden. Fail somewhat gracefully
- throw new ForbiddenException(get_class($e) . ':' . $e->getMessage());
+ throw new ForbiddenException(get_class($e) . ':' . $e->getMessage(), false);
}
throw new StorageNotAvailableException(get_class($e) . ': ' . $e->getMessage());
} elseif ($e instanceof ClientException) {