Fix slow CI case (#16955)

This commit is contained in:
Yingfeng
2026-07-16 00:32:51 +08:00
committed by GitHub
parent 454dea686e
commit df5c8e73fc
3 changed files with 243 additions and 107 deletions

View File

@@ -308,7 +308,7 @@ async def retrieval(tenant_id):
except Exception as e:
if "not_found" in str(e):
return build_error_result(message="No chunk found! Check the chunk status please!", code=RetCode.NOT_FOUND)
logging.exception(e)
logger.exception(e)
return build_error_result(message=str(e), code=RetCode.SERVER_ERROR)