Commit e91397db authored by Romain Courteaud's avatar Romain Courteaud Committed by Cédric de Saint Martin

Restore raising KeyError.

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