mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
Improve error message for integrationArtifactGetServiceEndpoint (#4341)
This commit is contained in:
parent
fbb27b2b6d
commit
70b09d6868
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user