clever-tools icon indicating copy to clipboard operation
clever-tools copied to clipboard

Improve error message if the API timeout

Open BlackYoup opened this issue 4 years ago • 2 comments

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.

BlackYoup avatar Apr 03 '20 09:04 BlackYoup

This is already 'status' of undefined was already fixed: https://github.com/CleverCloud/clever-tools/issues/352

hsablonniere avatar Apr 03 '20 10:04 hsablonniere

Let's keep this issue to identify timeouts.

hsablonniere avatar Apr 03 '20 10:04 hsablonniere