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

BugSnag removes PHP errors #41

Closed
simplenotezy opened this issue Sep 23, 2019 · 3 comments
Closed

BugSnag removes PHP errors #41

simplenotezy opened this issue Sep 23, 2019 · 3 comments

Comments

@simplenotezy
Copy link

Expected behavior

When I install bugsnag locally, I expect it to still output errors. When I have bugsnag enabled locally, no PHP errors are shown, thus making development harder

Observed behavior

It removes PHP errors from being displayed on screen, even with WP_DEBUG turned on

Version

Latest

@abigailbramble
Copy link

Hi @simplenotezy, thanks for the report! We will take a look.

@abigailbramble abigailbramble added bug Confirmed bug backlog We hope to fix this feature/bug in the future labels Sep 25, 2019
@jonasemde
Copy link

jonasemde commented Mar 24, 2020

Same here, very annoying during development.

@bugsnagbot bugsnagbot added scheduled Work is starting on this feature/bug and removed backlog We hope to fix this feature/bug in the future labels Apr 14, 2020
@imjoehaines
Copy link
Contributor

There is a filter you can use to disable the Bugsnag error and exception handlers in development, which should solve this issue

You can configure this by adding the following code to wp-includes/functions.php to disable the Bugsnag error and exception handlers, allowing the default PHP behaviour to show the error in the browser:

add_filter('bugsnag_set_error_and_exception_handlers', function () {
    return false;
});

@johnkiely1 johnkiely1 removed bug Confirmed bug scheduled Work is starting on this feature/bug labels Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants