Merge "Replace wgShowExceptionDetails with wgShowDBErrorBacktrace on db errors"
[lhc/web/wiklou.git] / includes / exception / MWExceptionRenderer.php
index 873e8f4..c0f1e84 100644 (file)
@@ -73,11 +73,7 @@ class MWExceptionRenderer {
                                        $message = MWExceptionHandler::getPublicLogMessage( $e );
                                }
                        }
-                       if ( self::isCommandLine() ) {
-                               self::printError( $message );
-                       } else {
-                               echo nl2br( htmlspecialchars( $message ) ) . "\n";
-                       }
+                       echo nl2br( htmlspecialchars( $message ) ) . "\n";
                }
        }