Skip to content

Commit

Permalink
modified error
Browse files Browse the repository at this point in the history
  • Loading branch information
HyejiYu committed Sep 24, 2024
1 parent 570dee5 commit d964627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messagequeue/consumer/homeplus_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit d964627

Please sign in to comment.