Merge "Log the instance causing the error when a pollster fails"
This commit is contained in:
commit
5b153d5a8c
@ -70,6 +70,6 @@ class AgentManager(manager.Manager):
|
|||||||
LOG.info('COUNTER: %s', c)
|
LOG.info('COUNTER: %s', c)
|
||||||
publish.publish_counter(context, c)
|
publish.publish_counter(context, c)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
LOG.warning('Continuing after error from %s: %s',
|
LOG.warning('Continuing after error from %s for %s: %s',
|
||||||
name, err)
|
name, instance.name, err)
|
||||||
LOG.exception(err)
|
LOG.exception(err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user