acquia / cli

Command-line interface for Acquia Cloud Platform products
https://docs.acquia.com/acquia-cli/
GNU General Public License v2.0
42 stars 47 forks source link

CLI-1292: Catch Cloud API type errors #1701

Closed danepowell closed 5 months ago

danepowell commented 5 months ago

@anavarre your opinion on messaging?

Typically a type error does indicate a problem with the application, i.e. some kind of broken configuration or environment. Sometimes it's a more general problem, which is actually true for CLI-1292. There's nothing wrong with the customer application in CLI-1292; the API will pretty much always return cron information that violates the published spec.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.22%. Comparing base (ec62a12) to head (d62cd5c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1701 +/- ## ========================================= Coverage 91.22% 91.22% - Complexity 1796 1798 +2 ========================================= Files 122 122 Lines 6450 6452 +2 ========================================= + Hits 5884 5886 +2 Misses 566 566 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.