Re: [PATCH] esx: Improve error reporting for failed tasks

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

 



On 12/06/2010 06:45 AM, Matthias Bolte wrote:
> Instead of just reporting that a task failed get the
> localized message from the TaskInfo error and include
> it in the reported error message.
> 
> Implement minimal deserialization support for the
> MethodFault type in order to obtain the actual fault
> type.
> 
> For example, this changes the reported error message
> when trying to create a volume with zero size from
> 
>   Could not create volume
> 
> to
> 
>   Could not create volume: InvalidArgument - A specified parameter was not correct.
> 
> Not perfect yet, but better than before.

Certainly an improvement.

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

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