Sfoglia il codice sorgente

Add some more debugging info

Jordi Boggiano 7 anni fa
parent
commit
a29ad2bfd6
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/Composer/Downloader/DownloadManager.php

+ 2 - 2
src/Composer/Downloader/DownloadManager.php

@@ -160,8 +160,8 @@ class DownloadManager
 
 
         if ($installationSource !== $downloader->getInstallationSource()) {
         if ($installationSource !== $downloader->getInstallationSource()) {
             throw new \LogicException(sprintf(
             throw new \LogicException(sprintf(
-                'Downloader "%s" is a %s type downloader and can not be used to download %s',
-                get_class($downloader), $downloader->getInstallationSource(), $installationSource
+                'Downloader "%s" is a %s type downloader and can not be used to download %s for package %s',
+                get_class($downloader), $downloader->getInstallationSource(), $installationSource, $package
             ));
             ));
         }
         }