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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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