Ejegg has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/356491 )

Change subject: Log User-Agent on dead session error
......................................................................

Log User-Agent on dead session error

Change-Id: I6c8d44e630679bae3a8685e3047b5d684683c048
---
M gateway_common/GatewayPage.php
1 file changed, 3 insertions(+), 1 deletion(-)


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

diff --git a/gateway_common/GatewayPage.php b/gateway_common/GatewayPage.php
index 53b87f5..4b1f2ba 100644
--- a/gateway_common/GatewayPage.php
+++ b/gateway_common/GatewayPage.php
@@ -403,7 +403,9 @@
                                wfHttpError( 403, 'Forbidden', wfMessage( 
'donate_interface-error-http-403' )->text() );
                                throw new RuntimeException(
                                        'Resultswitcher: Request forbidden. No 
active donation in the session. ' .
-                                       "Adapter Order ID: $oid. Cookies: " . 
print_r( $_COOKIE, true )
+                                       "Adapter Order ID: $oid.\n" .
+                                       "Cookies: " . print_r( $_COOKIE, true ) 
."\n" .
+                                       "User-Agent: " . 
$_SERVER['HTTP_USER_AGENT']
                                );
                        }
                        // If it's possible for a donation to go through 
without our

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6c8d44e630679bae3a8685e3047b5d684683c048
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