Merge #283 Pungi should log when it tries to publish notifications.
This commit is contained in:
commit
f9498744af
@ -57,6 +57,8 @@ class PungiNotifier(object):
|
|||||||
self._update_args(kwargs)
|
self._update_args(kwargs)
|
||||||
|
|
||||||
with self.lock:
|
with self.lock:
|
||||||
|
self.compose.log_debug("Notification: %r %r, %r" % (
|
||||||
|
self.cmd, msg, kwargs))
|
||||||
ret, _ = shortcuts.run((self.cmd, msg),
|
ret, _ = shortcuts.run((self.cmd, msg),
|
||||||
stdin_data=json.dumps(kwargs),
|
stdin_data=json.dumps(kwargs),
|
||||||
can_fail=True,
|
can_fail=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user