gradle / gradle/develocity-build-validation-scripts
Error message when API calls fail due to an untrusted certificate should be made more clear
- Dominant language
- Shell
- Stars
- 115
- Forks
- 23
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 6
Description
When the API calls fail due to an untrusted certificate, the error message implies it is related to authentication. The user may then follow the steps outlined in [Authenticating with Gradle Enterprise](https://github.com/gradle/gradle-enterprise-build-validation-scripts/blob/main/Gradle.md#authenticating-with-gradle-enterprise) when really they should be following [Configuring the network settings to connect to Develocity](https://github.com/gradle/gradle-enterprise-build-validation-scripts/blob/main/Gradle.md#configuring-the-network-settings-to-connect-to-develocity).
In these scenarios, an exception related to the untrusted certificate is thrown. We should catch that and display a different error message rather than the generic authentication one.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.