Don't raise if requested instance is not present

parent a98cdea0
......@@ -96,7 +96,7 @@ class Recipe(object):
# XXX-Cedric : currently raise an error. So swallow it...
except AttributeError:
status = "unknown"
raise KeyError("Connection parameter %s not found. "
self.logger.error("Connection parameter %s not found. "
"Status of requested instance is : %s." % (self.failed, status))
return []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment