diff --git a/cmd/integrationArtifactGetServiceEndpoint.go b/cmd/integrationArtifactGetServiceEndpoint.go index 0f2ec8c9a4..b122db006c 100644 --- a/cmd/integrationArtifactGetServiceEndpoint.go +++ b/cmd/integrationArtifactGetServiceEndpoint.go @@ -81,6 +81,8 @@ func runIntegrationArtifactGetServiceEndpoint(config *integrationArtifactGetServ return nil } } + return errors.Errorf("Unable to get integration flow service endpoint '%v', Response body: %v, Response Status code: %v", + config.IntegrationFlowID, string(bodyText), serviceEndpointResp.StatusCode) } responseBody, readErr := ioutil.ReadAll(serviceEndpointResp.Body)