Add a little more debugging to the fedora_messaging callback
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
f6e6fab02d
commit
4ac2b91273
1 changed files with 3 additions and 0 deletions
|
@ -20,12 +20,15 @@
|
||||||
import os
|
import os
|
||||||
import pwd
|
import pwd
|
||||||
import logging
|
import logging
|
||||||
|
import traceback
|
||||||
|
import sys
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from fedora_messaging.api import Message, publish
|
from fedora_messaging.api import Message, publish
|
||||||
from fedora_messaging.exceptions import PublishReturned, ConnectionException
|
from fedora_messaging.exceptions import PublishReturned, ConnectionException
|
||||||
except ImportError as err:
|
except ImportError as err:
|
||||||
print("*****", err)
|
print("*****", err)
|
||||||
|
traceback.print_exc(file=sys.stdout)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from ansible.plugins.callback import CallbackBase
|
from ansible.plugins.callback import CallbackBase
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue