You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
anuruddhal
changed the title
Improve the error message
Improve the error messages when API server is not reachable
Aug 29, 2024
anuruddhal
changed the title
Improve the error messages when API server is not reachable
Improve the printed error messages when API server is not reachable
Aug 29, 2024
Description:
When the update tool is unable to connect to the API server it prints the following error. https://github.com/ballerina-platform/ballerina-update-tool/blob/master/src/main/java/org/ballerinalang/command/util/ToolUtil.java#L790
It occurs when the response code from the update tool API is not
200
or302
. We need to improve the error message to print the actual cause.Describe your problem(s)
Describe your solution(s)
Related Issues (optional):
Suggested Labels (optional):
Suggested Assignees (optional):
The text was updated successfully, but these errors were encountered: