From 75e73fde26e4634790c0992b98c303a667d31e4b Mon Sep 17 00:00:00 2001 From: Michal Konečný Date: Jul 22 2022 10:42:31 +0000 Subject: Add log debug for fedora message for scm_request_processor The message seems to look different to what we expect, let's add debug print to see it. Signed-off-by: Michal Konečný --- diff --git a/toddlers/plugins/scm_request_processor.py b/toddlers/plugins/scm_request_processor.py index 3e91dae..1d7dde2 100644 --- a/toddlers/plugins/scm_request_processor.py +++ b/toddlers/plugins/scm_request_processor.py @@ -134,6 +134,7 @@ class SCMRequestProcessor(ToddlerBase): :arg config: Toddlers configuration :arg message: Message to process """ + _log.debug("Processing message:\n{0}".format(message.body)) project_name = message.body["project"]["fullname"] if project_name != PROJECT_NAMESPACE: @@ -200,7 +201,7 @@ class SCMRequestProcessor(ToddlerBase): issue["id"], namespace=PROJECT_NAMESPACE, comment="Error happened during processing:\n{0}".format( - traceback.print_exc + traceback.format_exc() ), )