cli icon indicating copy to clipboard operation
cli copied to clipboard

download TODO comment: handle non 200 response for individual solution files

Open jdsutherland opened this issue 7 years ago • 1 comments

In effort to resolve TODO comments, I'm in the process of promoting them to issues. https://github.com/exercism/cli/blob/a86f82974270d2da2090a02437560897a216abc3/cmd/download.go#L189-L190

Currently, non 200 responses are swallowed. Do we know how we want to handle this?

jdsutherland avatar Jan 20 '19 12:01 jdsutherland

Let's error out and display the message from the API, if there is one.

kytrinyx avatar Feb 20 '19 00:02 kytrinyx