Skip to content

Commit

Permalink
remove useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsiaw committed Feb 19, 2024
1 parent 32f35ca commit 309265a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ func (cli *Client) rawRequest(req *http.Request) ([]byte, error) {

if err != nil {
// Not a JSON error
//fmt.Printf("Failed to parse error. Use `bcn -d` to see raw server response\n")
//return nil, err

resstr := "HTTP Error:" + resp.Status + "\nType bcn -d <command> for details"

apiErr = APIError{resstr, string(b[:]), []string{}}
Expand Down

0 comments on commit 309265a

Please sign in to comment.