diff options
author | Greg Beaver <cellog@php.net> | 2005-11-05 18:15:05 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2005-11-05 18:15:05 +0000 |
commit | 55f7e26adf27ba336928e9d1c1b8ff86056d699f (patch) | |
tree | e9198d75b9f38b5d05a7080914d373426e8f47bd | |
parent | e813489260334d680a345050f6e7f0b70f40384e (diff) | |
download | php-git-55f7e26adf27ba336928e9d1c1b8ff86056d699f.tar.gz |
add further debug information in case of error
-rw-r--r-- | pear/install-pear.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pear/install-pear.php b/pear/install-pear.php index 908d6d3ad0..12eaeedb2f 100644 --- a/pear/install-pear.php +++ b/pear/install-pear.php @@ -116,7 +116,8 @@ $pkg = &new PEAR_PackageFile($config, $debug); foreach ($install_files as $package => $instfile) { $info = &$pkg->fromAnyFile($instfile, PEAR_VALIDATE_INSTALLING); if (PEAR::isError($info)) { - $ui->outputData(sprintf("[PEAR] %s: %s", $package, $info->getMessage())); + $ui->outputData(sprintf("[PEAR] %s: %s", $package . " ($instfile)", + $info->getMessage())); continue; } $new_ver = $info->getVersion(); |