Commit 009ce0e4 by 朱海

[chg]增加异常返回

1 parent 19ff62bf
......@@ -218,11 +218,16 @@ public class PersonService {
poolService.deletePool(requestVo1);
}
}
log.error("matchPerson", e);
log.error("PoolIds:{} matchPerson异常", poolIds, e);
ResponseVo error = ResponseVo.error(rid, e.getDetailedMessage());
error.setMatch(0);
return error;
} catch (Exception e) {
log.error("PoolIds:{} matchPerson异常", poolIds, e);
ResponseVo error = ResponseVo.error(rid, e.getMessage());
error.setMatch(0);
return error;
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!