diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-06-30 20:35:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 20:35:47 +0200 |
commit | c709dda597bc07c8b8f61412e9622614e68c3656 (patch) | |
tree | 1949b486dc888f5ab25be16dbfd2c7380c6043c8 | |
parent | 451d39d308e52418cfe1fc9919007035db20b320 (diff) | |
parent | e984357cfc64bca9448604ab22fdadf7f5913dca (diff) | |
download | nextcloud-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.php | 2 |
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) { |