Skip to content

Commit

Permalink
fix - logger extra field
Browse files Browse the repository at this point in the history
  • Loading branch information
jjpaulo2 committed Oct 3, 2024
1 parent dca48b1 commit be3cab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def handler(event: SQSEvent, context: LambdaContext):
message = Message.model_validate_json(record.body)
message_adapter = TelegramMessage(message)

logger.info("Sending message...", extra={"message": message.model_dump()})
logger.info("Sending message...", extra={"received": message.model_dump()})

try:
loop.run_until_complete(sender.send(message_adapter))
Expand Down

0 comments on commit be3cab7

Please sign in to comment.