[Rpm-maint] [rpm-software-management/rpm] Improved errors handling. (#1305)

Panu Matilainen notifications at github.com
Mon Nov 23 13:13:15 UTC 2020


Yup, we don't want detailed error messages from PGP parsing, otherwise the whole parser would be littered with similar messages.

You're right that there's a missing check on rpmPubkeyNew() return in the Python bindings, but this would introduce a different bug: it returns NULL with no exception set. I created a new PR to address this part and improve the Python exception messages a bit: #1447. Thanks for pointing this out!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1305#issuecomment-732153104
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201123/8310dea3/attachment.html>


More information about the Rpm-maint mailing list