Ejegg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/227613

Change subject: Log original message for 'Blocking validation problems'
......................................................................

Log original message for 'Blocking validation problems'

Might help with that investigation...

Change-Id: Ibc2d1d3efb8a7e5b1cdd73f001f40da6da5b88e2
---
M globalcollect_gateway/globalcollect.adapter.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/13/227613/1

diff --git a/globalcollect_gateway/globalcollect.adapter.php 
b/globalcollect_gateway/globalcollect.adapter.php
index 8e9eedf..7f4ef5b 100644
--- a/globalcollect_gateway/globalcollect.adapter.php
+++ b/globalcollect_gateway/globalcollect.adapter.php
@@ -1947,7 +1947,9 @@
 
                                case 21000050 : //REQUEST {0} VALUE {2} OF 
FIELD {1} IS NOT A NUMBER WITH MINLENGTH {3}, MAXLENGTH {4} AND PRECISION {5}  
: More validation pain.
                                        //say something painful here.
-                                       $errMsg = 'Blocking validation problems 
with this payment. Investigation required! ' . $this->getLogDebugJSON();
+                                       $errMsg = 'Blocking validation problems 
with this payment. Investigation required! '
+                                                       . "Original message: 
$errMsg  "
+                                                       . 
$this->getLogDebugJSON();
                                case 400120:
                                        /* INSERTATTEMPT PAYMENT FOR ORDER 
ALREADY FINAL FOR COMBINATION.
                                         * They already gave us money or 
failed...

-- 
To view, visit https://gerrit.wikimedia.org/r/227613
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc2d1d3efb8a7e5b1cdd73f001f40da6da5b88e2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <eeggles...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to