浏览代码

Add some more debugging info

Jordi Boggiano 7 年之前
父节点
当前提交
a29ad2bfd6
共有 1 个文件被更改,包括 2 次插入2 次删除
  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
             ));
         }