一些Log格式错误被删除

This commit is contained in:
2025-11-07 15:52:06 +08:00
parent a1b3f51b61
commit 477fbf1876
6 changed files with 19 additions and 17 deletions

View File

@@ -53,7 +53,7 @@ async def system_stats():
}
})
except Exception as e:
config.Log("Error", f"{ConsoleFrontColor.RED}获取系统统计失败: {e}{ConsoleFrontColor.RESET}", exc_info=True)
config.Log("Error", f"{ConsoleFrontColor.RED}获取系统统计失败: {e}{ConsoleFrontColor.RESET}")
return JSONResponse(
status_code=500,
content={"error": str(e)}