Page MenuHomePhabricator

Installer should force $wgShowExceptionDetails on
Closed, ResolvedPublic

Description

The installer and updater scripts should force $wgShowExceptionDetails and other debug options on to assist in debugging of maintenance tasks.

The options to hide details from error reporting are there to reduce the risk of information exposure to the general web (path disclosure, private keys in backtrace parameters, etc), but it should be safe to expose this to the system administrator and will help in diagnosing problems such as the report shown in bug 9980.


Version: 1.11.x
Severity: enhancement

Details

Reference
bz9993

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:39 PM
bzimport set Reference to bz9993.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

Presumably you mean it should be enabled for the installer itself, not that the installer should set the option on by default. Does the installer normally throw exceptions?

Nothing *normally* throws exceptions, dude. That's why they're exceptions. ;)

And yes, that's what I'm talking about.

ayg wrote:

Bwah, I missed that it was you who filed the bug. I wouldn't have said anything if I had noticed. Crazy new Bugzilla.