clever-tools
clever-tools copied to clipboard
Improve error message if the API timeout
A customer tried to create an application while our API had issues (https://status.clever-cloud.com/incident/257)
The command was: clever create --type jar
The output was: [ERROR] Cannot read property 'status' of undefined
Instead I think a better message could be displayed like "The API did not answer in time" or something like that.
It's to note that the API wasn't responding at all, so requests were "accepted" but no response was returned.
This is already 'status' of undefined was already fixed: https://github.com/CleverCloud/clever-tools/issues/352
Let's keep this issue to identify timeouts.