You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The arguments for this source plugin suggests a list of URLs is supported but, in testing the plugin in a rulebook, but the loop dies on exception. This may be due to the try-except block being outside the for loop but I'm not sure. The test only handles one url.
cloin
changed the title
url_check source seems to only check the first url in list
url_check source plugin doesn't seem handle exceptions on individual URLs in list
Aug 14, 2023
The arguments for this source plugin suggests a list of URLs is supported but, in testing the plugin in a rulebook, but the loop dies on exception. This may be due to the try-except block being outside the for loop but I'm not sure. The test only handles one url.
https://github.com/ansible/event-driven-ansible/blob/main/extensions/eda/plugins/event_source/url_check.py
In the above, the first two URLs are valid. The loop dies in the except on the second URL which is a bad URL and never reaches the third URL.
The text was updated successfully, but these errors were encountered: