Last modified: 2014-11-20 14:47:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75619, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73619 - Debug: Log group 'error' for PHP errors should abide wfSuppressWarnings
Debug: Log group 'error' for PHP errors should abide wfSuppressWarnings
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.25-git
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-19 20:28 UTC by Krinkle
Modified: 2014-11-20 14:47 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2014-11-19 20:28:09 UTC
set_error_handler works separate from error_reporting. So when wfSuppressWarnings changes the error_reporting, MWExceptionHandler::handleError still gets called all the same.

I'm not sure whether they should completely be suppressed or not in this area. Perhaps have it be configurable, or add a flag of some kind (so that we can e.g. hide them by default in logstash, but still have a query for trending warnings that were originally suppressed)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links