diff --git a/SAS/TMSS/backend/services/feedback_handling/lib/feedback_handling.py b/SAS/TMSS/backend/services/feedback_handling/lib/feedback_handling.py index 9a64461b7a38e4de12fab3b001841492a999fab3..6f61ac31f85d31c09282f77bfaa72f99d4436381 100644 --- a/SAS/TMSS/backend/services/feedback_handling/lib/feedback_handling.py +++ b/SAS/TMSS/backend/services/feedback_handling/lib/feedback_handling.py @@ -57,7 +57,7 @@ def read_feedback_message_and_process(old_qpid_frombuses, timeout: float=1): logger.info("received message from qpid queue='%s'", old_qpid_frombus.receiver.source.address) except AttributeError as e: # log errors from the parsing the qpid messages, see https://support.astron.nl/jira/projects/SDCH/queues/custom/81/SDCH-4144 - logger.exception("%s\mignoring unprocessable message with body:\n%s", str(e), str(msg.body)) + logger.exception("%s\mignoring unprocessable message with body:\n%s\n%s\n", str(e), str(msg), dir(msg), repr(msg)) finally: # always ack (even when the above AttributeError occurs), so we can continue with the next message old_qpid_frombus.ack(msg)