fixed a bug in policy-get plugin 11/32711/1
authorAlex Shatov <alexs@att.com>
Fri, 23 Feb 2018 19:29:38 +0000 (14:29 -0500)
committerAlex Shatov <alexs@att.com>
Fri, 23 Feb 2018 19:29:38 +0000 (14:29 -0500)
- do not raise an exception on not being able to bring policies

Change-Id: I39dda5492903c5b25f4a8b46d96d27a5b8ee1547
Signed-off-by: Alex Shatov <alexs@att.com>
Issue-ID: DCAEGEN2-347

dcae-policy/dcaepolicyplugin/tasks.py

index 7261835..455b41b 100644 (file)
@@ -172,7 +172,6 @@ def _policies_find():
     except Exception as ex:
         error = "failed to find policies: {0}".format(str(ex))
         ctx.logger.error("{0}: {1}".format(error, traceback.format_exc()))
-        raise NonRecoverableError(error)
 
     return True