From d03c2aee1034bdccf5d99327bc3c83bd241d8ab6 Mon Sep 17 00:00:00 2001 From: Nikita Melkozerov Date: Thu, 16 Nov 2023 19:50:58 +0000 Subject: [PATCH] more logs --- fixbackend/cloud_accounts/service_impl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fixbackend/cloud_accounts/service_impl.py b/fixbackend/cloud_accounts/service_impl.py index 21d091b2..c4ae7c27 100644 --- a/fixbackend/cloud_accounts/service_impl.py +++ b/fixbackend/cloud_accounts/service_impl.py @@ -109,10 +109,12 @@ async def process_domain_event(self, message: Json, context: MessageContext) -> match context.kind: case TenantAccountsCollected.kind: event = TenantAccountsCollected.from_json(message) + log.info(f"Received {TenantAccountsCollected.kind} event: {event}") set_workspace_id(str(event.tenant_id)) for account_id, account in event.cloud_accounts.items(): set_fix_cloud_account_id(account_id) set_cloud_account_id(account.account_id) + log.info(f"Updating account {account_id}") await self.cloud_account_repository.update( account_id, lambda acc: evolve(