Closed simonw closed 1 year ago
Anything other than a 200 status code should show a concise Click error message.
Here's the problem: https://github.com/simonw/dclient/blob/055d6a6ffc858e56dda4d43c6f906b90239a4257/dclient/cli.py#L33-L42
It does try to do something else for non-200 errors, but doesn't handle non-JSON responses well.
In the debugger: