feat:为多个模块添加丰富的追踪信息以增强调试能力

This commit is contained in:
墨梓柒
2025-05-02 03:18:24 +08:00
parent d23bee969d
commit 9cf62f983e
32 changed files with 65 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
from fastapi import APIRouter, HTTPException
from rich.traceback import install
install(show_locals=True, extra_lines=3)
# 创建APIRouter而不是FastAPI实例
router = APIRouter()