优化
This commit is contained in:
@@ -466,6 +466,10 @@ public class InboundMeasurementService {
|
||||
}
|
||||
return response.data();
|
||||
} catch (FeignException exception) {
|
||||
if (exception.status() == 400) {
|
||||
throw new BizException(ResultCode.SERVICE_UNAVAILABLE,
|
||||
"订单服务申报快照契约未就绪,请同步部署 order-service 与 firstleg-service");
|
||||
}
|
||||
throw new BizException(ResultCode.SERVICE_UNAVAILABLE, "订单服务暂不可用,无法读取客户申报数据");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user