Abort execution when a RepositorySecurityException is thrown
parent
545372172d
commit
b750e70f5f
|
@ -483,6 +483,10 @@ class ComposerRepository extends ArrayRepository implements StreamableRepository
|
|||
|
||||
break;
|
||||
} catch (\Exception $e) {
|
||||
if ($e instanceof RepositorySecurityException) {
|
||||
throw $e;
|
||||
}
|
||||
|
||||
if (!$retries) {
|
||||
if ($contents = $this->cache->read($cacheKey)) {
|
||||
if (!$this->degradedMode) {
|
||||
|
|
Loading…
Reference in New Issue