Loading pkg/social/social.go +1 −1 Original line number Diff line number Diff line Loading @@ -264,7 +264,7 @@ func (c *Client) requestRaw(provider, path string, headers map[string]string) ([ return nil, err } if resp.StatusCode != 200 { return nil, fmt.Errorf("%v error url %v, status code %v, body %v", provider, path, resp.StatusCode, body) return nil, fmt.Errorf("%v error url %v, status code %v, body %s", provider, path, resp.StatusCode, body) } return body, nil } Loading
pkg/social/social.go +1 −1 Original line number Diff line number Diff line Loading @@ -264,7 +264,7 @@ func (c *Client) requestRaw(provider, path string, headers map[string]string) ([ return nil, err } if resp.StatusCode != 200 { return nil, fmt.Errorf("%v error url %v, status code %v, body %v", provider, path, resp.StatusCode, body) return nil, fmt.Errorf("%v error url %v, status code %v, body %s", provider, path, resp.StatusCode, body) } return body, nil }