Do not log sensible body data

This commit is contained in:
dinamiko 2021-09-14 12:46:41 +02:00
parent 24859e6bc9
commit 9f348ed411
2 changed files with 19 additions and 6 deletions

View file

@ -41,7 +41,7 @@ trait RequestTrait {
$response = wp_remote_get( $url, $args );
if ( $this->logger instanceof WooCommerceLogger ) {
$this->logger->logRequestResponse( $url, $args, $response );
$this->logger->logRequestResponse( $url, $args, $response, $this->host );
}
return $response;