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

Merge pull request #4975 from mattt416/fix_rax_network

Add missing exception name
This commit is contained in:
Michael DeHaan 2013-11-20 09:22:52 -08:00
commit b4c0526564

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':