Skip to content

Airbrake\ErrorHandler reports errors that are suppressed with the @ operator #105

Description

@fuhry

Currently, if a PHP notice/warning/error occurs that is suppressed using the @ operator, the Airbrake ErrorHandler reports these errors as if they were not suppressed.

Reproduction steps:

$handler = new Airbrake\ErrorHandler($notifier);
$handler->register();

$foo = [];
echo @$foo[0]; // generates E_NOTICE

Expected result: no error is reported

Actual result: error is reported

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions