Browse Source

Add some more debugging info

Jordi Boggiano 7 years ago
parent
commit
a29ad2bfd6
1 changed files with 2 additions and 2 deletions
  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()) {
             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
             ));
         }