Update 'booking.stripe.inc'
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user