diff --git a/messagequeue/consumer/homeplus_consumer.py b/messagequeue/consumer/homeplus_consumer.py index 7e3f37a..0831f45 100644 --- a/messagequeue/consumer/homeplus_consumer.py +++ b/messagequeue/consumer/homeplus_consumer.py @@ -55,7 +55,7 @@ def callback(ch, method, properties, body): message_str = body.decode('utf-8') message_json = json.loads(message_str) except json.JSONDecodeError as e: - print(f"Failed to decode JSON: {e}\n Received message: {message_str}"} + print(f"Failed to decode JSON: {e}\n Received message: {message_str}") pass category_name = message_json['category_name'] product_id = message_json['product_id']