mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix missing exceptions (#45775)
* Replace non-existing OpenStackCloudTimeout exception. Fixes: #45151 * Replace OpenStackCloudURINotFound that doesn't exist in the 'exceptions' module
This commit is contained in:
@@ -139,7 +139,7 @@ def main():
|
||||
result='Detached volume from server'
|
||||
)
|
||||
|
||||
except (sdk.exceptions.OpenStackCloudException, sdk.exceptions.OpenStackCloudTimeout) as e:
|
||||
except (sdk.exceptions.OpenStackCloudException, sdk.exceptions.ResourceTimeout) as e:
|
||||
module.fail_json(msg=str(e))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user