Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.7

Bug #1918 error reporting should use toString()
Submitted: 2004-07-20 05:44 UTC
From: alan_k Assigned: quipo
Status: Closed Package: Mail_Queue
PHP Version: 4.3.7 OS: linux
Roadmaps: (Not assigned)    

 [2004-07-20 05:44 UTC] alan_k
Description: ------------ by using toString(), you get the native error reported (which is far more usefull) if (DB::isError($res)) { return new Mail_Queue_Error(MAILQUEUE_ERROR_QUERY_FAILED, $this->pearErrorMode, E_USER_ERROR, __FILE__, __LINE__, 'DB::query failed - "'.$query.'" - '.$res->toString()); }


 [2004-07-20 10:22 UTC] quipo
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on In case this was a website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.