We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Today with the #23 PR, we got this piece of code to improve the debugging:
if res.StatusCode >= 400 { jsonResponseBody, _ := json.Marshal(res.Body) jsonQueryParam, _ := json.Marshal(queryParams) jsonRequestBody, _ := json.Marshal(r.Requests) c.logger.Error("Error on multisearch: statusCode = " + strconv.Itoa(res.StatusCode) + ", responseBody = " + string(jsonResponseBody) + ", queryParam = " + string(jsonQueryParam) + ", requestBody = " + string(jsonRequestBody)) }
Improve this by throwing directly an error, you'll probably have to fix some unit tests.
The text was updated successfully, but these errors were encountered:
It's a duplicate of #28
Sorry, something went wrong.
No branches or pull requests
Today with the #23 PR, we got this piece of code to improve the debugging:
Improve this by throwing directly an error, you'll probably have to fix some unit tests.
The text was updated successfully, but these errors were encountered: