Index: branches/wmf/1.18wmf1/includes/Exception.php |
— | — | @@ -150,7 +150,7 @@ |
151 | 151 | $line = $this->getLine(); |
152 | 152 | $message = $this->getMessage(); |
153 | 153 | |
154 | | - if ( isset( $wgRequest ) ) { |
| 154 | + if ( isset( $wgRequest ) && !$wgRequest instanceof FauxRequest ) { |
155 | 155 | $url = $wgRequest->getRequestURL(); |
156 | 156 | if ( !$url ) { |
157 | 157 | $url = '[no URL]'; |