Add print in addition to the logger (that isn't set up) in the fedora_messaging callback - take #2

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-05-14 22:44:30 +02:00
parent 8189b0f964
commit 3f7c896509

View file

@ -96,8 +96,12 @@ class CallbackModule(CallbackBase):
LOGGER.warning(
"Fedora Messaging broker rejected message %s: %s", msg.id, e
)
print(
"Fedora Messaging broker rejected message %s: %s", msg.id, e
)
except ConnectionException as e:
LOGGER.warning("Error sending message %s: %s", msg.id, e)
print("Error sending message %s: %s", msg.id, e)
self.playbook_path = path
def v2_playbook_on_stats(self, stats):