1
0
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:
Alexander Link 2023-05-02 16:34:24 +02:00 committed by GitHub
parent fbb27b2b6d
commit 70b09d6868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)