Pungi should log when it tries to publish notifications.

Signed-off-by: Ralph Bean <rbean@redhat.com>
This commit is contained in:
Ralph Bean 2016-04-27 12:09:57 -04:00
parent c321bca8ef
commit dafeb613c6

View File

@ -57,6 +57,8 @@ class PungiNotifier(object):
self._update_args(kwargs)
with self.lock:
self.compose.log_debug("Notification: %r %r, %r" % (
self.cmd, msg, kwargs))
ret, _ = shortcuts.run((self.cmd, msg),
stdin_data=json.dumps(kwargs),
can_fail=True,