From f6cc10c67a0ea25647cd79d9fcd6579fe2c4c15e Mon Sep 17 00:00:00 2001 From: shri Date: Fri, 25 Oct 2024 19:01:47 +0200 Subject: [PATCH] iHandle case where company not found --- src/app/domain/companies/services.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/domain/companies/services.py b/src/app/domain/companies/services.py index eb4845c2..42ccc24e 100644 --- a/src/app/domain/companies/services.py +++ b/src/app/domain/companies/services.py @@ -88,6 +88,7 @@ async def create( ) except Exception as e: await logger.awarn("Error getting company details", exc_info=e) + company_details = {} location = None # TODO: Move to provider specific code