Paladox has uploaded a new change for review.

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

Change subject: Fix $wgShowExceptionDetails to work without having to set 
$wgShowDBErrorBacktrace
......................................................................

Fix $wgShowExceptionDetails to work without having to set 
$wgShowDBErrorBacktrace

Follow up
https://phabricator.wikimedia.org/rMW00bee029718f3215396e984d04b9450bc3872503

Bug: T148957
Change-Id: Ie40c9b6413d967691a716af1f1ae24b9fc77263f
---
M includes/exception/MWExceptionRenderer.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/39/322739/1

diff --git a/includes/exception/MWExceptionRenderer.php 
b/includes/exception/MWExceptionRenderer.php
index 8fdc417..93a338f 100644
--- a/includes/exception/MWExceptionRenderer.php
+++ b/includes/exception/MWExceptionRenderer.php
@@ -276,7 +276,7 @@
 
                return (
                        $wgShowExceptionDetails &&
-                       ( !( $e instanceof DBError ) || $wgShowDBErrorBacktrace 
)
+                       ( !( $e instanceof DBError ) || $wgShowDBErrorBacktrace 
) || $wgShowExceptionDetails
                );
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie40c9b6413d967691a716af1f1ae24b9fc77263f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to