1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add missing exception name

This commit is contained in:
Matt Thompson 2013-11-20 16:58:19 +00:00
parent 82a9387532
commit 8cd465938b

View file

@ -106,7 +106,7 @@ def cloud_network(module, state, label, cidr):
changed = True changed = True
except Exception, e: except Exception, e:
module.fail_json(msg='%s' % e.message) module.fail_json(msg='%s' % e.message)
except Exception: except Exception, e:
module.fail_json(msg='%s' % e.message) module.fail_json(msg='%s' % e.message)
elif state == 'absent': elif state == 'absent':