Lookup plugins not raising exceptions is a known issue at the moment -- though I'm not positive there's a ticket. Please see if there is one and if not please file it.
On Fri, Apr 25, 2014 at 10:34 AM, Scott Anderson <[email protected]>wrote: > I had to add some try/catch logic in template.py to discover that there > was an issue with the template I was using in lookup('template'). The > plugin was just returning empty string due to the template error. > > Are the lookup plugins supposed to eat exceptions? > > Regards, > -scott > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CD643208-83FB-4501-AEF6-62CECE9BC1E6%40gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgzWW06CJ1Gj64XkyCKjTGg5vevJY1eYVyeTjcuid%3Dfdsw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
