Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The error handler still puts out messages when suppressed by PHP #1

Open
lfkeitel opened this issue Jan 23, 2017 · 0 comments
Open
Labels

Comments

@lfkeitel
Copy link
Member

If an expression begins with @, PHP will suppress any errors generated by the expression. The error handler provided by oslogger still prints out the errors. The following needs to be added to src/ErrorHandler.php at line 58:

if (error_reporting() === 0) {
    return;
}

Perhaps make an option to always print errors even when suppressed.

@lfkeitel lfkeitel added the bug label Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant