conga/luci/site/luci/Extensions homebase_adapt ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-11-02 21:12:07
Modified files:
luci/site/luci/Extensions: homebase_adapters.py
Log message:
if node unauthentication fails and debugging is enabled, print a message to syslog
luci/site/luci/Extensions/homebase_adapters.py +6 -2
@@ -137,8 +137,12 @@ rc = RicciCommunicator(host) rc.unauth() i['cur_auth'] = False - except: - pass + except Exception, e: + try: + luci_log.debug_verbose('unauth for %s failed: %s' \ + % (i['host'], str(e))) + except: + pass def nodeAuth(cluster, host, passwd): messages = list()