mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
Add a little more debugging to the fedora_messaging callback
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
@@ -20,12 +20,15 @@
|
||||
import os
|
||||
import pwd
|
||||
import logging
|
||||
import traceback
|
||||
import sys
|
||||
|
||||
try:
|
||||
from fedora_messaging.api import Message, publish
|
||||
from fedora_messaging.exceptions import PublishReturned, ConnectionException
|
||||
except ImportError as err:
|
||||
print("*****", err)
|
||||
traceback.print_exc(file=sys.stdout)
|
||||
|
||||
try:
|
||||
from ansible.plugins.callback import CallbackBase
|
||||
|
||||
Reference in New Issue
Block a user