Update 'booking.stripe.inc'

This commit is contained in:
2023-07-11 10:46:52 +10:00
parent 78445e3d45
commit ff9021ace0

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() )), TRUE);
array('!message' => $e->getMessage(), '@info' => print_r( $e->getTrace() )), WATCHDOG_WARNING, $link = NULL);
drupal_set_message($e->getMessage(), 'error');
}
}