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
new-backend: adds useless warnings #4675
Comments
I don't see the warnings as completely useless, they tell you which backend failed and during which phase it failed. It also covers the case, where a plugin returns an error status, but doesn't set an error. Maybe we put these warnings behind some kind of debug flag. However, I don't see that as an urgent issue. |
Note: I unassigned myself, because I don't see any reason why I specifically have to do this. Anybody should be able to fix this issue. By searching for text fragments from the warning it should be quite obvious where the warnings are produced. |
Logging and warnings should not be confused. I agree that logs about what happens in which phase can be useful. Warnings are, however, not designed for logging. This is simply something that wasn't found in the review of #4187. |
I agree that logging and warnings are different, but at least for "the case, where a plugin returns an error status, but doesn't set an error", the warning/error makes sense. So probably the solution is (when an error status is returned)
|
I fully agree, I think we can use ELEKTRA_SET_INTERFACE_ERROR here. |
I mark this stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping by writing a message here or create a new issue with the remainder of this issue. |
I closed this now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue. |
Steps to Reproduce the Problem
Make a checker plugin fail, e.g.:
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: