|
@@ -483,6 +483,10 @@ class ComposerRepository extends ArrayRepository implements StreamableRepository
|
|
|
|
|
|
break;
|
|
break;
|
|
} catch (\Exception $e) {
|
|
} catch (\Exception $e) {
|
|
|
|
+ if ($e instanceof RepositorySecurityException) {
|
|
|
|
+ throw $e;
|
|
|
|
+ }
|
|
|
|
+
|
|
if (!$retries) {
|
|
if (!$retries) {
|
|
if ($contents = $this->cache->read($cacheKey)) {
|
|
if ($contents = $this->cache->read($cacheKey)) {
|
|
if (!$this->degradedMode) {
|
|
if (!$this->degradedMode) {
|