mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🩹 ConsoleLogger will always output error messages
This commit is contained in:
parent
31867b17d6
commit
4b30449ddb
2 changed files with 20 additions and 5 deletions
|
@ -227,8 +227,8 @@ class GooglepayButton extends PaymentButton {
|
|||
|
||||
this.paymentsClient.loadPaymentData( paymentDataRequest );
|
||||
},
|
||||
() => {
|
||||
console.error( '[GooglePayButton] Form validation failed.' );
|
||||
( reason ) => {
|
||||
this.error( 'Form validation failed.', reason );
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue