From: Tomas V.V.Cox Date: Tue, 21 May 2002 02:31:23 +0000 (+0000) Subject: Some minor error verbosity updates X-Git-Tag: RELEASE_0_10~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5700c0d421178ad6b1ea05099ada230c826dbcd1;p=php Some minor error verbosity updates --- diff --git a/pear/PEAR/Common.php b/pear/PEAR/Common.php index c87f54e890..22fb33aa30 100644 --- a/pear/PEAR/Common.php +++ b/pear/PEAR/Common.php @@ -636,7 +636,7 @@ class PEAR_Common extends PEAR function infoFromTgzFile($file) { if (!@is_file($file)) { - return $this->raiseError('tgz :: could not open file'); + return $this->raiseError("tgz :: could not open file \"$file\""); } if (substr($file, -4) == '.tar') { $compress = false; @@ -646,7 +646,7 @@ class PEAR_Common extends PEAR $tar = new Archive_Tar($file, $compress); $content = $tar->listContent(); if (!is_array($content)) { - return $this->raiseError('tgz :: could not get contents of package'); + return $this->raiseError("tgz :: could not get contents of package \"$file\""); } $xml = null; foreach ($content as $file) {