mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-23 08:25:57 +00:00
fixed the CI build errors
This commit is contained in:
@@ -244,7 +244,8 @@ async def get_custom_skill_history(skill_name: str, config: AppConfig = Depends(
|
|||||||
except HTTPException:
|
except HTTPException:
|
||||||
raise
|
raise
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("Failed to read history for %s: %s", skill_name, e, exc_info=True)
|
name = skill_name.replace("\r\n", "").replace("\n", "")
|
||||||
|
logger.error("Failed to read history for %s: %s", name, e, exc_info=True)
|
||||||
raise HTTPException(status_code=500, detail=f"Failed to read history: {str(e)}")
|
raise HTTPException(status_code=500, detail=f"Failed to read history: {str(e)}")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user