From 2b74a5053d79a498a2a216cd0107bda2ce177d9a Mon Sep 17 00:00:00 2001 From: Spoked Date: Fri, 28 Jun 2024 20:16:00 -0500 Subject: [PATCH] fix: remove random print --- comet/utils/db.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/comet/utils/db.py b/comet/utils/db.py index f684e6b..96a980c 100644 --- a/comet/utils/db.py +++ b/comet/utils/db.py @@ -26,8 +26,7 @@ async def teardown_database(): try: await database.disconnect() except Exception as e: - # Log the exception or handle it as needed - print(f"Error tearing down the database: {e}") + logger.error(f"Error tearing down the database: {e}") def write_config(): """Write the config file."""