From 8189b0f964e7bf7e762745604db1b8cf693893a2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 14 May 2020 22:41:56 +0200 Subject: [PATCH] Add print in addition to the logger (that isn't set up) in the fedora_messaging callback Signed-off-by: Pierre-Yves Chibon --- callback_plugins/fedora_messaging_callback.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/callback_plugins/fedora_messaging_callback.py b/callback_plugins/fedora_messaging_callback.py index 03c7345fbd..807470ebaf 100644 --- a/callback_plugins/fedora_messaging_callback.py +++ b/callback_plugins/fedora_messaging_callback.py @@ -117,5 +117,7 @@ class CallbackModule(CallbackBase): publish(msg) except PublishReturned as e: 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)