argos-ci / argos-cli

Argos command line interface.
https://www.argos-ci.com
MIT License
12 stars 4 forks source link

Improve fail error message #33

Closed oliviertassinari closed 3 years ago

oliviertassinari commented 3 years ago

We have seen cases where the CLI returns a "Failed to parse response body as JSON" message. This change allows knowing more.

Related to https://github.com/mui-org/material-ui/pull/23623.

eps1lon commented 3 years ago

This only affects the cancel task not upload task.

oliviertassinari commented 3 years ago

Thanks for mentioning it. I didn't look twice, I wrongly assumed the method was centralized.