lookup plugins eating exceptions?

31 views
Skip to first unread message

Scott Anderson

unread,
Apr 25, 2014, 10:34:44 AM4/25/14
to ansible...@googlegroups.com
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

Michael DeHaan

unread,
Apr 25, 2014, 4:52:23 PM4/25/14
to ansible...@googlegroups.com
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.





--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
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.

Reply all
Reply to author
Forward
0 new messages