SOURCES: eventum-propagate-error.patch - the top caller should dec...

glen glen at pld-linux.org
Thu Mar 8 12:43:44 CET 2007


Author: glen                         Date: Thu Mar  8 11:43:44 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- the top caller should decide what to do with exception, log or not

---- Files affected:
SOURCES:
   eventum-propagate-error.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/eventum-propagate-error.patch
diff -u SOURCES/eventum-propagate-error.patch:1.1 SOURCES/eventum-propagate-error.patch:1.2
--- SOURCES/eventum-propagate-error.patch:1.1	Thu Mar  8 12:37:39 2007
+++ SOURCES/eventum-propagate-error.patch	Thu Mar  8 12:43:39 2007
@@ -8,12 +8,11 @@
          }
          if ($multiple) {
              $returns = array();
-@@ -279,6 +280,10 @@
+@@ -279,6 +280,9 @@
      function getName($address, $multiple = false)
      {
          $info = Mail_API::getAddressInfo($address, true);
 +        if (PEAR::isError($info)) {
-+            Error_Handler::logError(array($info->getMessage(), $info->getDebugInfo()), __FILE__, __LINE__);
 +            return $info;
 +        }
          $returns = array();
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-propagate-error.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list