diff --git a/src/Composer/Repository/VcsRepository.php b/src/Composer/Repository/VcsRepository.php index 110cabd27..ace6c5297 100644 --- a/src/Composer/Repository/VcsRepository.php +++ b/src/Composer/Repository/VcsRepository.php @@ -118,7 +118,7 @@ class VcsRepository extends ArrayRepository } } catch (\Exception $e) { if ($debug) { - $this->io->write('Skipped tag '.$tag.', '.$e->getMessage()); + $this->io->write('Skipped tag '.$tag.', '.($e instanceof TransportException ? 'no composer file was found' : $e->getMessage())); } continue; }