Skip to content

Commit

Permalink
Improve error message for integrationArtifactGetServiceEndpoint (#4341)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxsap authored May 2, 2023
1 parent fbb27b2 commit 70b09d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/integrationArtifactGetServiceEndpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 70b09d6

Please sign in to comment.