Merge "Update openstack/common/notifier"
This commit is contained in:
commit
caba8c0860
@ -43,4 +43,5 @@ def notify(context, message):
|
|||||||
rpc.notify(context, topic, message)
|
rpc.notify(context, topic, message)
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.exception(_("Could not send notification to %(topic)s. "
|
LOG.exception(_("Could not send notification to %(topic)s. "
|
||||||
"Payload=%(message)s"), locals())
|
"Payload=%(message)s"),
|
||||||
|
{"topic": topic, "message": message})
|
||||||
|
@ -49,4 +49,5 @@ def notify(context, message):
|
|||||||
rpc.notify(context, topic, message, envelope=True)
|
rpc.notify(context, topic, message, envelope=True)
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.exception(_("Could not send notification to %(topic)s. "
|
LOG.exception(_("Could not send notification to %(topic)s. "
|
||||||
"Payload=%(message)s"), locals())
|
"Payload=%(message)s"),
|
||||||
|
{"topic": topic, "message": message})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user