🩹 ConsoleLogger will always output error messages

This commit is contained in:
Philipp Stracker 2024-08-07 14:36:51 +02:00
parent 31867b17d6
commit 4b30449ddb
No known key found for this signature in database
2 changed files with 20 additions and 5 deletions

View file

@ -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 );
}
);
}