fix: 简化日志错误信息格式

This commit is contained in:
lxfight
2025-10-25 14:13:23 +08:00
parent 82cf4ed909
commit 4188deb386
+1 -1
View File
@@ -983,7 +983,7 @@ class KnowledgeBaseRoute(Route):
.__dict__
)
else:
logger.error(f"[KB配置] 配置保存失败,验证不匹配")
logger.error("[KB配置] 配置保存失败,验证不匹配")
return Response().error("配置保存失败").__dict__
except Exception as e: