mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Do not log sensible body data
This commit is contained in:
parent
24859e6bc9
commit
9f348ed411
2 changed files with 19 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue