mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 14:21:30 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user