Resolve warnings of logger library (#2681)

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman
2025-05-15 10:55:16 +03:00
committed by GitHub
parent 6a82d9122b
commit d300a4d412
12 changed files with 20 additions and 20 deletions

View File

@@ -88,7 +88,7 @@ class DBSummaryClient:
self.db_summary_embedding(item["db_name"], item["db_type"])
except Exception as e:
message = traceback.format_exc()
logger.warn(
logger.warning(
f"{item['db_name']}, {item['db_type']} summary error!{str(e)}, "
f"detail: {message}"
)