1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02: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:
gamuniz 2017-11-12 21:29:25 -05:00 committed by jctanner
parent c9e6da338c
commit 10866bfb8b

View file

@ -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