Abort execution when a RepositorySecurityException is thrown
parent
545372172d
commit
b750e70f5f
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue