Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/3rdparty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php')
-rw-r--r--aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php b/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php
index 65ca1154..5cbaed07 100644
--- a/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php
+++ b/aws/aws-sdk-php/src/Handler/GuzzleV6/GuzzleHandler.php
@@ -54,12 +54,6 @@ class GuzzleHandler
&& $e->getResponse()
) {
$error['response'] = $e->getResponse();
- } else if (
- class_exists('Error')
- && $e instanceof \Error
- && $e ->getResponse()
- ) {
- $error['response'] = $e->getResponse();
}
return new Promise\RejectedPromise($error);