We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee607ae commit 680e823Copy full SHA for 680e823
src/Adapter/Rackspace.php
@@ -5,6 +5,7 @@
5
use League\Flysystem\Util;
6
use OpenCloud\ObjectStore\Resource\Container;
7
use OpenCloud\ObjectStore\Resource\DataObject;
8
+use OpenCloud\ObjectStore\Exception\ObjectNotFoundException;
9
use Guzzle\Http\Exception\ClientErrorResponseException;
10
11
class Rackspace extends AbstractAdapter
@@ -163,6 +164,8 @@ public function has($path)
163
164
$object = $this->getObject($path);
165
} catch(ClientErrorResponseException $e) {
166
return false;
167
+ } catch(ObjectNotFoundException $e) {
168
+ return false;
169
}
170
171
return $this->normalizeObject($object);
0 commit comments