[Erp5-report] r34579 luke - /erp5/trunk/utils/erp5.timmy/src/erp5/timmy/timmy.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 15 14:35:52 CEST 2010
Author: luke
Date: Thu Apr 15 14:35:49 2010
New Revision: 34579
URL: http://svn.erp5.org?rev=34579&view=rev
Log:
- if it is not possible to connect to Business Configuration, unknown state is the best one
There is no reason to scare with error state. Not running Business Configuration
from timmy's point of view is not an error - it is unknown state.
Modified:
erp5/trunk/utils/erp5.timmy/src/erp5/timmy/timmy.py
Modified: erp5/trunk/utils/erp5.timmy/src/erp5/timmy/timmy.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.timmy/src/erp5/timmy/timmy.py?rev=34579&r1=34578&r2=34579&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.timmy/src/erp5/timmy/timmy.py [utf8] (original)
+++ erp5/trunk/utils/erp5.timmy/src/erp5/timmy/timmy.py [utf8] Thu Apr 15 14:35:49 2010
@@ -338,7 +338,7 @@
except socket.error:
logging.warning('Cannot connect to %s, ignoring for now' %
self.connection_string)
- return 'reportError', 'Cannot connect to Business Configuration, ignored for now'
+ return 'reportUnknown', 'Cannot connect to Business Configuration, ignored for now'
except Exception, e:
logging.error('Uncaught error %s for %s' % (e, self.connection_string))
return 'reportError', 'Uncaught error %s' % e
More information about the Erp5-report
mailing list