mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Merge pull request #4975 from mattt416/fix_rax_network
Add missing exception name
This commit is contained in:
@@ -106,7 +106,7 @@ def cloud_network(module, state, label, cidr):
|
||||
changed = True
|
||||
except Exception, e:
|
||||
module.fail_json(msg='%s' % e.message)
|
||||
except Exception:
|
||||
except Exception, e:
|
||||
module.fail_json(msg='%s' % e.message)
|
||||
|
||||
elif state == 'absent':
|
||||
|
||||
Reference in New Issue
Block a user