1
0
Fork 0

Abort execution when a RepositorySecurityException is thrown

pull/1609/head
Jordi Boggiano 2013-02-21 17:41:38 +01:00
parent 545372172d
commit b750e70f5f
1 changed files with 4 additions and 0 deletions

View File

@ -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) {