diff --git a/providers/staticjsonYahooFinance/client.go b/providers/staticjsonYahooFinance/client.go index 7c9c7cf..760c9a5 100644 --- a/providers/staticjsonYahooFinance/client.go +++ b/providers/staticjsonYahooFinance/client.go @@ -53,7 +53,7 @@ func (c *client) processResponse(res *http.Response, out interface{}) error { } if res.StatusCode != 200 { - return fmt.Errorf("got http response status '%d' but expected 200", res.StatusCode) + return fmt.Errorf("got http response status '%d' but expected 200 for request at URL '%s'", res.StatusCode, res.Request.URL) } err = json.Unmarshal(body, out)