SIENTIAPDE-1148

Update sonar-project.properties to exclude worker.py from coverage, enhance error handling in worker.py, and add new tests for error scenarios in test_redis.py and test_mongo.py.
This commit is contained in:
vitor-aignosi
2025-07-11 12:32:23 -03:00
parent 72c87dfb51
commit efeef628cb
4 changed files with 140 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ async def main():
try:
await asyncio.gather(*handlers)
except BaseException as e:
except BaseException as e: # NOSONAR
logger.error("An unhandled exception occurred: %s", e, exc_info=True)
finally:
if notification_handler: