Add some more debugging info

main
Jordi Boggiano 7 years ago
parent 1933532ec5
commit a29ad2bfd6

@ -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', 'Downloader "%s" is a %s type downloader and can not be used to download %s for package %s',
get_class($downloader), $downloader->getInstallationSource(), $installationSource get_class($downloader), $downloader->getInstallationSource(), $installationSource, $package
)); ));
} }

Loading…
Cancel
Save