summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-06-30 20:35:47 +0200
committerGitHub <noreply@github.com>2020-06-30 20:35:47 +0200
commitc709dda597bc07c8b8f61412e9622614e68c3656 (patch)
tree1949b486dc888f5ab25be16dbfd2c7380c6043c8
parent451d39d308e52418cfe1fc9919007035db20b320 (diff)
parente984357cfc64bca9448604ab22fdadf7f5913dca (diff)
downloadnextcloud-server-c709dda597bc07c8b8f61412e9622614e68c3656.tar.gz
nextcloud-server-c709dda597bc07c8b8f61412e9622614e68c3656.zip
Merge pull request #21589 from nextcloud/debt/noid/wrong-exception-call
Set retry = false for forbidden exception.
-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) {