Revision a0aa6b49 lib/watcher/__init__.py
b/lib/watcher/__init__.py | ||
---|---|---|
71 | 71 |
KEY_BOOT_ID = "bootid" |
72 | 72 |
|
73 | 73 |
|
74 |
# Global client object |
|
74 |
# Global LUXI client object
|
|
75 | 75 |
client = None |
76 | 76 |
|
77 | 77 |
|
... | ... | |
107 | 107 |
|
108 | 108 |
try: |
109 | 109 |
results = utils.RunParts(hooks_dir) |
110 |
except Exception, msg: # pylint: disable-msg=W0703 |
|
111 |
logging.critical("RunParts %s failed: %s", hooks_dir, msg) |
|
110 |
except Exception: # pylint: disable-msg=W0703 |
|
111 |
logging.exception("RunParts %s failed: %s", hooks_dir) |
|
112 |
return |
|
112 | 113 |
|
113 | 114 |
for (relname, status, runresult) in results: |
114 | 115 |
if status == constants.RUNPARTS_SKIP: |
Also available in: Unified diff