Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upReport details when a plugin fails to install due to a network issue. #1583
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Actual behavior
When there is no internet connection or the machine is behind a proxy
This error very cryptic and does not point out to the right cause which confuses the user for example.
Steps to reproduce
gauge install jsExpected behavior
Be very specific and print a detailed error. For example
Summarise clearly
Prefix, the line with
[gauge]to indicate that it is an error message from Gauge.ERR!indicates the error level after which the clear and relevant error is displayed. This prefix is only required for errors and warnings.Use error codes and categories
Break down the error and display a code. The code can be from root api call, in this case a call to
http.getThe error is clearly categorised as a
networkerror.Point to the error logs
Dump a detailed debug log (Only when there is an error) in a separate log file specific for that run. This way the user does not have to sort through all the logs.
Contextual links
Point to the category of the error.