From 3f7c8965098d53a94085e75b6470433fe2afc33f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 14 May 2020 22:44:30 +0200 Subject: [PATCH] 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 --- callback_plugins/fedora_messaging_callback.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/callback_plugins/fedora_messaging_callback.py b/callback_plugins/fedora_messaging_callback.py index 807470ebaf..9833372cc0 100644 --- a/callback_plugins/fedora_messaging_callback.py +++ b/callback_plugins/fedora_messaging_callback.py @@ -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):