Archived
0
0
This commit is contained in:
2025-12-17 20:52:11 +08:00
parent 8da8354609
commit 38f720aa7b
30 changed files with 181 additions and 181 deletions

View File

@@ -27,10 +27,10 @@ try:
"config_var", default=ConfigFile(workdir / "config" / "config.toml")
) # 配置文件
print("已加载自定义用户配置")
logger.info("已加载自定义用户配置路径: %s", workdir / "config" / "config.toml")
logger.info("已加载自定义用户配置, 路径: %s", workdir / "config" / "config.toml")
except Exception as e:
print("未能加载自定义用户配置")
logger.warning("未能加载自定义用户配置错误: %s", e)
logger.warning("未能加载自定义用户配置, 错误: %s", e)
# runtime_var: ContextVar = ContextVar('runtime_var', default=dict()) # 运行时共享数据