diff --git a/amplitude/plugins/destination/internal/amplitude_http_client.go b/amplitude/plugins/destination/internal/amplitude_http_client.go index dd28885..1767a39 100644 --- a/amplitude/plugins/destination/internal/amplitude_http_client.go +++ b/amplitude/plugins/destination/internal/amplitude_http_client.go @@ -109,7 +109,7 @@ func (c *amplitudeHTTPClient) Send(payload AmplitudePayload) AmplitudeResponse { var amplitudeResponse AmplitudeResponse if json.Valid(body) { _ = json.Unmarshal(body, &litudeResponse) - }else{ + } else { c.logger.Debugf("HTTP response body is not valid JSON: %s", string(body)) amplitudeResponse.Code = response.StatusCode }