Skip to content

Commit

Permalink
add response debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
samueljmello committed Sep 28, 2023
1 parent 939664f commit 8159966
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,9 @@ func BBSHTTPRequest(path string, endpoint string, method string) (data string, e
return "", err
}

// log response to debug
Debug(fmt.Sprintf("Response: %s", string(bodyBytes)))

// return the response and nil error
return string(bodyBytes), err
}

0 comments on commit 8159966

Please sign in to comment.