Skip to content

Commit

Permalink
Update amplitude/plugins/destination/internal/amplitude_http_client.go
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Fiedler <[email protected]>
  • Loading branch information
Mercy811 and justin-fiedler authored May 28, 2024
1 parent 0ad2d4d commit cb8c83b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (c *amplitudeHTTPClient) Send(payload AmplitudePayload) AmplitudeResponse {
var amplitudeResponse AmplitudeResponse
if json.Valid(body) {
_ = json.Unmarshal(body, &amplitudeResponse)
}else{
} else {
c.logger.Debugf("HTTP response body is not valid JSON: %s", string(body))
amplitudeResponse.Code = response.StatusCode
}
Expand Down

0 comments on commit cb8c83b

Please sign in to comment.