-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Mark some BuildEnvironmentError exceptions as Warning and do not log them #4495
Conversation
be3dcd6
to
d6cc500
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Will definitely be nice not to have so much spam in sentry.
@humitos we just hit our limit again, we should fix the conflict here and ship it. |
There are some exceptions risen while building documentation that are considered an ERROR from the Build perspective, but for our application are just a WARNING and shouldn't be logged as ERROR (sent to Sentry). It's not an ERROR in our application but a WARNING that the user's documentation couldn't be built.
Note: the changes were selected manually since there were many that break the style that we want :(
7511411
to
29f1f65
Compare
Rebased the branch. Once the tests passed, I will merge it. |
This solves #3856? or we still need less logs? |
I don't think it 100% solves it, but at least reduce the noise. I'd like to get to the point to anything logged in Sentry requires manual/human attention. Currently, there are still lot of garbage there. |
There are some exceptions risen while building documentation that are considered an ERROR from the Build perspective, but for our application are just a WARNING and shouldn't be logged as ERROR (sent to Sentry).
It's not an ERROR in our application but a WARNING that the user's documentation couldn't be built.
This will help us to find Sentry more useful than it's right now as we are getting close to have logged only things that need human/dev attention.
Closes: #4109