Issue Feature Closed

#19889displayErrors=2 and no errors on CLI

Ernesto Baschny 01/22/09, 16:41 updated 09/09/13, 10:47

Description

Many sites set displayErrors=2 and have devIPmask to a list of IPs from the developer. This won’t disturb the public, but the developer gets PHP errors, which is nice.

Unfortunately this also disables PHP errors from being outputted when running CLI scripts. This is particularly important if I set some cronjob running a CLI which can “break”.

So suggested is a new setting displayErrorsForceOnCLI (boolean) which will enable error output on CLI, even if displayErrors=2.

(issue imported from #M10228)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.