Exception handling in vmware_inventory for vcsim (#32700)
* vmware_inventory changes to support vcsim * updated debug message per maintainer request
This commit is contained in:
parent
c9e6da338c
commit
10866bfb8b
1 changed files with 2 additions and 0 deletions
|
@ -419,6 +419,8 @@ class VMWareInventory(object):
|
|||
self.debugl('%d custom fields collected' % len(self.custom_fields))
|
||||
except vmodl.RuntimeFault as exc:
|
||||
self.debugl("Unable to gather custom fields due to %s" % exc.msg)
|
||||
except IndexError as exc:
|
||||
self.debugl("Unable to gather custom fields due to %s" % exc)
|
||||
|
||||
return instance_tuples
|
||||
|
||||
|
|
Loading…
Reference in a new issue