From: <rd...@us...> - 2008-01-02 23:09:59
|
Revision: 530 http://digir.svn.sourceforge.net/digir/?rev=530&view=rev Author: rdg Date: 2008-01-02 15:09:57 -0800 (Wed, 02 Jan 2008) Log Message: ----------- Also display pear error code. Modified Paths: -------------- tapirchirp/trunk/TpClient.php Modified: tapirchirp/trunk/TpClient.php =================================================================== --- tapirchirp/trunk/TpClient.php 2008-01-02 22:38:06 UTC (rev 529) +++ tapirchirp/trunk/TpClient.php 2008-01-02 23:09:57 UTC (rev 530) @@ -884,7 +884,7 @@ if ( PEAR::isError( $pear_call ) ) { - throw new TpPearException( 'PEAR error: '.$pear_call->getMessage() ); + throw new TpPearException( 'PEAR error ('.$pear_call->getCode().'):'.$pear_call->getMessage() ); } $this->mLastResponseCode = $httpRequest->getResponseCode(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |