Skip to content

Commit

Permalink
Catch failed association earlier, and log it
Browse files Browse the repository at this point in the history
  • Loading branch information
oldpatricka committed Nov 21, 2012
1 parent 8446348 commit 5aa5b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ion/agents/cei/high_availability_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def _associate_process(self, process):
try:
self.container.resource_registry.create_association(self.service_id,
"hasProcess", process.process_id)
except AttributeError, Exception:
except Exception:
log.exception("Couldn't associate service %s to process %s" % (self.service_id, process.process_id))


Expand Down

0 comments on commit 5aa5b05

Please sign in to comment.