-
Notifications
You must be signed in to change notification settings - Fork 8
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
Do not hide libzypp exceptions in Pkg::ResolvableProperties() #31
Conversation
…5418) it makes debugging more difficult, return nil in that case - 3.1.18
LGTM |
No. |
I agree that silently swallowing exceptions with Also, the fix is incomplete. |
Not really, the empty list was returned because the exception was raised at the first item, but it can happen later and in that case the returned list would be incomplete (containing just the already processed items). And in that case debugging would be even more difficult, with empty list it's obvious that something went wrong, but incomplete list is really nasty...
No, actually I'm not sure if there is such code which relies on ignoring libzypp errors (I'm not aware of any case), the pkg-bindings convention is use
No, if an exception is raised there it will caught here as well. |
In normal conditions So yes, I'd like to change it even in this stage. |
OK, but that is only for
I don't think so. This code eats it:
|
Oh, I overlooked that part, thanks! |
LGTM. |
Thanks for review! |
Do not hide libzypp exceptions in Pkg::ResolvableProperties()
See bnc#895418
nil
and log details in that case