From f6e6fab02dc09752b309227c0a971b7fcf395a29 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 14 May 2020 22:27:19 +0200 Subject: [PATCH] Add some debugging to the fedora_messaging callback for now Signed-off-by: Pierre-Yves Chibon --- callback_plugins/fedora_messaging.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/callback_plugins/fedora_messaging.py b/callback_plugins/fedora_messaging.py index dc4176376c..98ef92d004 100644 --- a/callback_plugins/fedora_messaging.py +++ b/callback_plugins/fedora_messaging.py @@ -21,8 +21,11 @@ import os import pwd import logging -from fedora_messaging.api import Message, publish -from fedora_messaging.exceptions import PublishReturned, ConnectionException +try: + from fedora_messaging.api import Message, publish + from fedora_messaging.exceptions import PublishReturned, ConnectionException +except ImportError as err: + print("*****", err) try: from ansible.plugins.callback import CallbackBase