jenkins-bot has submitted this change and it was merged. ( 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(-) Approvals: XenoRyet: Looks good to me, approved jenkins-bot: Verified 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: merged Gerrit-Change-Id: I6c8d44e630679bae3a8685e3047b5d684683c048 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/DonationInterface Gerrit-Branch: master Gerrit-Owner: Ejegg <eeggles...@wikimedia.org> Gerrit-Reviewer: XenoRyet <dkozlow...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits