Re: [libosinfo] Don't fail when there's an error loading the user DB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 19, 2013 at 10:18:04AM +0000, Daniel P. Berrange wrote:
> It would be nice if we defined an error code for the "Directory does not exist"
> error scenario, so we can skip that gracefully, but still report an fatal error
> for parser problems.

Actually, after rethinking about this, I'd want to skip most (all?) errors
when loading the user database. I currently have a ~/.config/libosinfo/db/toto.xml
with just '<foo' in it, and imo if such a situation ever happens to
someone, this should not prevent the loading of the system libosinfo
databases.

Christophe

Attachment: pgpu8XuBsfYot.pgp
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux