Skip to content

Commit

Permalink
Fix Add a specific description of ServiceInstance is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
wei.song committed Oct 19, 2023
1 parent 2331598 commit e24db5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,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 e24db5c

Please sign in to comment.