Update 'booking.stripe.inc'

This commit is contained in:
2023-07-11 10:44:43 +10:00
parent 7b7fe113a8
commit 78445e3d45

View File

@@ -240,7 +240,7 @@ function booking_stripe_validate_form_payment($form, &$form_state) {
}
catch (\Stripe\Exception\CardException $e) {
watchdog('booking', "<pre>Detected exception processing Stripe payment (!message)\n@info</pre>",
array('!message' => $e->getMessage(), '@info' => print_r( $e->getTrace() )));
array('!message' => $e->getMessage(), '@info' => print_r( $e->getTrace() )), TRUE);
drupal_set_message($e->getMessage(), 'error');
}
}