1
0
Fork 0

Rethrow on unexpected failures

pull/104/merge
Jordi Boggiano 2011-11-15 14:59:49 +01:00
parent b4ec1b36c4
commit 8a2afee55f
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,7 @@ class PearRepository extends ArrayRepository
if (strpos($e->getMessage(), '404')) {
continue;
}
throw $e;
}
$releases = $releasesXML->getElementsByTagName('r');
@ -92,6 +93,7 @@ class PearRepository extends ArrayRepository
if (strpos($e->getMessage(), '404')) {
continue;
}
throw $e;
}
if (preg_match('((O:([0-9])+:"([^"]+)"))', $deps, $matches)) {