From cfd0fb69b84eded3eb29556a519bf7e02a6e9b73 Mon Sep 17 00:00:00 2001 From: Matthew Wire <devel@mrwire.co.uk> Date: Sat, 23 Jun 2018 10:58:44 +0100 Subject: [PATCH] Add timestamp to debug messages --- js/civicrm_stripe.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/civicrm_stripe.js b/js/civicrm_stripe.js index baa19d5d..dca7a0f5 100644 --- a/js/civicrm_stripe.js +++ b/js/civicrm_stripe.js @@ -213,7 +213,6 @@ // Handle multiple payment options and Stripe not being chosen. if (isWebform) { - debugger; var stripeProcessorId; var chosenProcessorId; stripeProcessorId = $('#stripe-id').val(); @@ -363,7 +362,7 @@ function debugging (errorCode) { // Uncomment the following to debug unexpected returns. - console.log('civicrm_stripe.js: ' + errorCode); + console.log(new Date().toISOString() + ' civicrm_stripe.js: ' + errorCode); } }(cj, CRM)); -- GitLab