|
|
|
|
|
by levi_n
2210 days ago
|
|
While following along locally I got an unhelpful error the first time I ran the program. Ultimately the bug was that I was using a lowercase 'o' instead of a zero '0' in the url builder. The API returned a 404, but the code ignored that and tried to marshal the html error response to the struct and failed. For your guide, it would be helpful to include a status code check on the response and returning a helpful error message around that. |
|