Commit 345c7b2b authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Use better formatting for social provider errors

parent c8bf21ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
}