From cc13b3984baae99f357fa2c90cdf8638f9dbdb2f Mon Sep 17 00:00:00 2001 From: Dmitry Naumenko Date: Sat, 23 Sep 2017 09:46:18 +0300 Subject: [PATCH] Removed redundant catch block --- Repository/NpmRepository.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/Repository/NpmRepository.php b/Repository/NpmRepository.php index 3019e639..540eecea 100644 --- a/Repository/NpmRepository.php +++ b/Repository/NpmRepository.php @@ -158,8 +158,6 @@ protected function createArrayRepositoryConfig(array $packageConfigs) // Skip this version and hope that another one will be OK $this->io->write("Skipped {$config['name']} version {$version}: {$exception->getMessage()}", IOInterface::VERBOSE); continue; - } catch (\Exception $exception) { - throw $exception; } }