Pārlūkot izejas kodu

Merge branch 'yhg_241210_dify' into debug

jimmyyem 3 mēneši atpakaļ
vecāks
revīzija
9bb94b83de

+ 2 - 0
internal/logic/employee/get_employee_search_logic.go

@@ -60,9 +60,11 @@ func (l *GetEmployeeSearchLogic) GetEmployeeSearch(req *types.EmployeeListReq, t
 			),
 		).Only(l.ctx)
 		if err != nil {
+			l.Logger.Errorf("getEmployeeSearch err: %v", err)
 			if !ent.IsNotFound(err) {
 				return nil, errorx.NewApiInternalError("获取智能体信息失败")
 			}
+
 		} else {
 			employeeIds = append(employeeIds, allocAgentItem.Agents...)
 		}