Merge "Fixed wrongly catched multiple exception types"

This commit is contained in:
Jenkins 2017-04-07 18:33:03 +00:00 committed by Gerrit Code Review
commit b071f46f23

View File

@ -438,7 +438,7 @@ class NetAppESeriesLibrary(object):
try:
return self._client.list_snapshot_image(
snapshot.get('provider_id'))
except (eseries_exc.WebServiceException or
except (eseries_exc.WebServiceException,
exception.NetAppDriverException):
try:
LOG.debug('Unable to locate snapshot by its id, falling '