mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-20 00:54:43 +00:00
Resolve warnings of logger library (#2681)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
@@ -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}"
|
||||
)
|
||||
|
Reference in New Issue
Block a user