Skip to content

Commit

Permalink
Fix Add a specific description of ServiceInstance is empty (#1297)
Browse files Browse the repository at this point in the history
  • Loading branch information
RealBeBetter authored Nov 13, 2023
1 parent 625db38 commit ab71866
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private <T> TimedRequestContext buildRequestContext(LoadBalancerRequest<T> deleg
public <T> T execute(String serviceId, ServiceInstance serviceInstance, LoadBalancerRequest<T> request)
throws IOException {
if (serviceInstance == null) {
throw new IllegalArgumentException("Service Instance cannot be null");
throw new IllegalArgumentException("Service Instance cannot be null, serviceId: " + serviceId);
}
DefaultResponse defaultResponse = new DefaultResponse(serviceInstance);
Set<LoadBalancerLifecycle> supportedLifecycleProcessors = getSupportedLifecycleProcessors(serviceId);
Expand Down

0 comments on commit ab71866

Please sign in to comment.