summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/DAV.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-14 22:26:19 +0100
committerGitHub <noreply@github.com>2018-02-14 22:26:19 +0100
commit24f96513fde993268c1286ded393252020d4f9ae (patch)
tree4da55bdec980bc7ecf6452fce1e4d3515f5be9eb /lib/private/Files/Storage/DAV.php
parent236086c457672742eb3ff57acf66587549b69345 (diff)
parenta815185bb4960312b6e15cda236db09d8ca72c01 (diff)
downloadnextcloud-server-24f96513fde993268c1286ded393252020d4f9ae.tar.gz
nextcloud-server-24f96513fde993268c1286ded393252020d4f9ae.zip
Merge pull request #8259 from nextcloud/guzzle6
update guzzlehttp/guzzle to 6.3.0
Diffstat (limited to 'lib/private/Files/Storage/DAV.php')
-rw-r--r--lib/private/Files/Storage/DAV.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php
index f9c6175308c..1496fda5140 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -35,7 +35,7 @@ namespace OC\Files\Storage;
use Exception;
use GuzzleHttp\Exception\RequestException;
-use GuzzleHttp\Message\ResponseInterface;
+use Psr\Http\Message\ResponseInterface;
use Icewind\Streams\CallbackWrapper;
use OC\Files\Filesystem;
use Icewind\Streams\IteratorDirectory;
@@ -344,7 +344,7 @@ class DAV extends Common {
'auth' => [$this->user, $this->password],
'stream' => true
]);
- } catch (RequestException $e) {
+ } catch (\GuzzleHttp\Exception\ClientException $e) {
if ($e->getResponse() instanceof ResponseInterface
&& $e->getResponse()->getStatusCode() === 404) {
return false;