diff --git a/lib/ansible/modules/storage/netapp/na_elementsw_volume_pair.py b/lib/ansible/modules/storage/netapp/na_elementsw_volume_pair.py index 0cd48d6a77..6e3c216820 100644 --- a/lib/ansible/modules/storage/netapp/na_elementsw_volume_pair.py +++ b/lib/ansible/modules/storage/netapp/na_elementsw_volume_pair.py @@ -116,7 +116,7 @@ from ansible.module_utils.netapp_module import NetAppModule HAS_SF_SDK = netapp_utils.has_sf_sdk() try: import solidfire.common -except Exception: +except ImportError: HAS_SF_SDK = False