Commit 59fbe2ad authored by Romain Courteaud's avatar Romain Courteaud

Restore raising KeyError.

Request has to fail if a connection parameter can not be accessed.
parent 154f5257
......@@ -98,6 +98,7 @@ class Recipe(object):
status = "unknown"
self.logger.error("Connection parameter %s not found. "
"Status of requested instance is : %s." % (self.failed, status))
raise KeyError("Connection parameter %s not found. " % self.failed)
return []
update = install
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