From ec244fb888c49beb3a8d24d3fc1b660ff144c4b3 Mon Sep 17 00:00:00 2001
From: Alex Shatov <alexs@att.com>
Date: Fri, 23 Feb 2018 14:29:38 -0500
Subject: fixed a bug in policy-get plugin

- 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 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dcae-policy/dcaepolicyplugin/tasks.py b/dcae-policy/dcaepolicyplugin/tasks.py
index 7261835..455b41b 100644
--- a/dcae-policy/dcaepolicyplugin/tasks.py
+++ b/dcae-policy/dcaepolicyplugin/tasks.py
@@ -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
 
-- 
cgit