-
Notifications
You must be signed in to change notification settings - Fork 877
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
Implement a logger in the indexables #14459
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When there is an exception in our ORM layer we catch this and ignore it.
We should log this instead, using our NullLogger.
These empty catch implementations live in the
src
folder. Search forcatch
. For example here: https://github.com/Yoast/wordpress-seo/blob/trunk/src/builders/indexable-post-builder.php#L315The NullLogger is located here: https://github.com/Yoast/wordpress-seo/blob/trunk/src/loggers/logger.php
Please do this from thefeature/indexables-frontend
branch!For bonus points: add an actual logger to the Yoast test helper repo that you can toggle on/off, overriding the NullLogger.
The text was updated successfully, but these errors were encountered: