fix logger level

This commit is contained in:
zrguo
2025-02-17 15:10:15 +08:00
parent fce24f7611
commit fc6dff04ff
3 changed files with 6 additions and 2 deletions

View File

@@ -63,7 +63,10 @@ from ..kg.tidb_impl import (
)
# Load environment variables
load_dotenv(override=True)
try:
load_dotenv(override=True)
except Exception as e:
logger.warning(f"Failed to load .env file: {e}")
# Initialize config parser
config = configparser.ConfigParser()