Commit 387063d7 authored by Federico Sismondi's avatar Federico Sismondi

better logging messages

parent e9817b36
Pipeline #1823 passed with stage
in 0 seconds
......@@ -414,11 +414,10 @@ class MsgReply(Message):
self.correlation_id = request_message.correlation_id
else: # note this doesnt generate amqp properties
super(MsgReply, self).__init__(**kwargs)
logging.warning(
'(!) messages library | lazy response built, generating reply message without corr_id for request %s' %
repr(request_message)[:70]
'[messages] lazy response built, generating reply message without properties for %s' % repr(self)[:70]
)
super(MsgReply, self).__init__(**kwargs)
def correlate_to(self, request_message):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment