Revert "template.py: Handle purposely raised exceptions in lookup()"
This reverts commit 2fda9bc743
.
This commit is contained in:
parent
aee940aaca
commit
a9f0f8e975
1 changed files with 0 additions and 3 deletions
|
@ -92,9 +92,6 @@ def lookup(name, *args, **kwargs):
|
|||
# safely catch run failures per #5059
|
||||
try:
|
||||
ran = instance.run(*args, inject=vars, **kwargs)
|
||||
except errors.AnsibleError:
|
||||
# Plugin raised this on purpose
|
||||
raise
|
||||
except Exception, e:
|
||||
ran = None
|
||||
if ran:
|
||||
|
|
Loading…
Reference in a new issue