Skip to content

Commit

Permalink
Fix KeyError: 'created_at'
Browse files Browse the repository at this point in the history
  • Loading branch information
olegeech-me committed Nov 17, 2024
1 parent 6a82d81 commit 53eefa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot/rabbitmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async def on_expiration_message(self, message: aio_pika.IncomingMessage):
msg_data = json.loads(message.body.decode('utf-8'))
oam_full_string = generate_oam_full_string(msg_data)
logger.info(
f"[EXPIRE] Application {oam_full_string} created at {msg_data['created_at']} "
f"[EXPIRE] Application {oam_full_string} created at {msg_data['last_updated']} "
"has been too long in the state NOT_FOUND, expiring"
)

Expand Down

0 comments on commit 53eefa7

Please sign in to comment.