mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
This commit is contained in:
@@ -486,7 +486,10 @@ class PluginLoader:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
if path not in self._module_cache:
|
if path not in self._module_cache:
|
||||||
|
try:
|
||||||
module = self._load_module_source(name, path)
|
module = self._load_module_source(name, path)
|
||||||
|
except Exception as e:
|
||||||
|
display.warning("Skipping plugin (%s) as it seems to be invalid: %s" % (path, to_text(e)))
|
||||||
self._module_cache[path] = module
|
self._module_cache[path] = module
|
||||||
found_in_cache = False
|
found_in_cache = False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user