Merge "Log the instance causing the error when a pollster fails"

This commit is contained in:
Jenkins 2012-08-28 13:21:35 +00:00 committed by Gerrit Code Review
commit 5b153d5a8c

View File

@ -70,6 +70,6 @@ class AgentManager(manager.Manager):
LOG.info('COUNTER: %s', c)
publish.publish_counter(context, c)
except Exception as err:
LOG.warning('Continuing after error from %s: %s',
name, err)
LOG.warning('Continuing after error from %s for %s: %s',
name, instance.name, err)
LOG.exception(err)