Permalink
Browse files

Log exception when there's a problem grabbing worker data

  • Loading branch information...
1 parent 2240b68 commit 637036c6e7a3e7449d83380f44c2d8534519ee3e @oldpatricka oldpatricka committed Aug 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/python/epumgmt/main/em_core_status.py
@@ -87,8 +87,8 @@ def _find_latest_worker_status(c, m, run_name, cloudinitd, allvms):
try:
controller_state_map = m.remote_svc_adapter.worker_state(controllers, provisioner_vm)
- except Exception,e:
- c.log.warn("Unable to get worker state for controllers: %s" % controllers)
+ except:
+ c.log.exception("Unable to get worker state for controllers: %s" % controllers)
return
_update_worker_parents(c, m, run_name, controllers, controller_state_map, allvms)

0 comments on commit 637036c

Please sign in to comment.