Homec4science

Respect error_reporting() in error handler

Authored by vrana <jakubv@fb.com> on Dec 21 2012, 01:45.

Description

Respect error_reporting() in error handler

Summary:
This changes couple of things:

  1. Errors are not converted to exceptions with @.
  2. It respects error_reporting().
  3. It doesn't pass ignored errors to listener.

Test Plan: Didn't see tons of "unable to select [4]: Interrupted system call at [Future.php:147]" in DarkConsole.

Reviewers: epriestley, nh

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4254

Details

Committed
vrana <jakubv@fb.com>Dec 21 2012, 03:14
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUb45eea975f6d: Remove backward-compatibility code for __init__.php
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPHU69161db9ed33: Respect error_reporting() in error handler (authored by vrana <jakubv@fb.com>).Dec 21 2012, 03:14