[Erp5-report] r41925 gabriel - /erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Jan 2 14:25:17 CET 2011


Author: gabriel
Date: Sun Jan  2 14:25:16 2011
New Revision: 41925

URL: http://svn.erp5.org?rev=41925&view=rev
Log:
display exception message only with debug mode enabled

Modified:
    erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py

Modified: erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py?rev=41925&r1=41924&r2=41925&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/application/openoffice.py [utf8] Sun Jan  2 14:25:16 2011
@@ -114,10 +114,10 @@ class OpenOffice(Application):
               connection_list[0].local_address[1] == self.port:
             process.terminate()
       except psutil.error.AccessDenied, e:
-        logger.error(e)
+        logger.debug(e)
       except TypeError, e:
         # exception to prevent one psutil issue with svn processes
-        logger.error(e)
+        logger.debug(e)
       except NotImplementedError, e:
         logger.error("lsof isn't installed on this machine: " + str(e))
 



More information about the Erp5-report mailing list