Exception rendering fixes
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 30 Sep 2016 23:57:38 +0000 (16:57 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 30 Sep 2016 23:57:48 +0000 (16:57 -0700)
commit97b5aa9a11b08e6171c7f5f78765a8198e1abe0d
treee641384b0cc1d2eef70e490263d46fbef92c6a1a
parentb8ac5c00049dc426cad61c7d569616d83b491016
Exception rendering fixes

* Actually use MWExceptionRenderer::AS_RAW. Use this after
  an error is thrown while trying to pretty render the original
  error. This is how this case was originally handled before.
* Do not show the google form or file cache in CLI mode.

Change-Id: I130499753efbf8b4d6d254ea36bacb2473952c1b
includes/exception/MWExceptionHandler.php
includes/exception/MWExceptionRenderer.php