You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some BuildEnvironmentError exceptions that we are riseing inside of the run_setup and run_build which end user messages that are being logged into our Sentry as errors but they are not errors to be reported to us at all since are just messages to the user.
Those three exceptions should be something like BuildDisabledError, VersionLockedError and YAMLParsingError. Then under our __exit__ method we need to check for these specific exceptions and do not log them:
There are some BuildEnvironmentError exceptions that we are riseing inside of the
run_setup
andrun_build
which end user messages that are being logged into our Sentry as errors but they are not errors to be reported to us at all since are just messages to the user.Example: https://github.com/rtfd/readthedocs.org/blob/84cefc40f00083cbc74a473ffb4ef890294159a1/readthedocs/projects/tasks.py#L388-L390
We should find the way to catch them from the context manager and do not log to Sentry (
log.error
).The text was updated successfully, but these errors were encountered: