mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
make log message more detailed
This commit is contained in:
parent
8ba75230be
commit
91c2c58892
1 changed files with 4 additions and 1 deletions
|
@ -322,7 +322,10 @@ class OrderEndpoint {
|
|||
}
|
||||
$this->logger->log(
|
||||
'warning',
|
||||
$error->getMessage(),
|
||||
sprintf(
|
||||
'Failed to capture order. PayPal API response: %1$s',
|
||||
$error->getMessage()
|
||||
),
|
||||
array(
|
||||
'args' => $args,
|
||||
'response' => $response,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue