[wp-trac] [WordPress Trac] #14371: Allow user to specify error reporting level
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 21 04:21:29 UTC 2010
#14371: Allow user to specify error reporting level
------------------------------+---------------------------------------------
Reporter: wjm | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version: 3.0
Severity: normal | Keywords: has-patch
------------------------------+---------------------------------------------
Comment(by nacin):
Replying to [comment:5 wjm]:
> @Viper007Bond: As it is right now FATAL and WARNING errors are showed in
production.
> I think it's up to people to decide what they want to show.
That's not true. Fatals and warnings are '''reported'''. As long as
WP_DEBUG is not set, then we don't touch the php.ini display_errors
directive, which on a production server should be off.
At this point I'm -1 on this (unless it is tied to WP_DEBUG, possibly).
There's an obvious potential that it would be misused to simply lower the
reporting level instead of suppressing the display of warnings the proper
way. Errors should be logged, not displayed, and errors we report
(warnings/fatals) by default are the kinds that absolutely should be
reported and logged.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14371#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list