Merge #283 Pungi should log when it tries to publish notifications.

This commit is contained in:
Dennis Gilmore 2016-04-29 12:25:57 +00:00
commit f9498744af

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,