fix(app): Skip plugins with not satisfied dependencies.
This commit is contained in:
parent
c161541b46
commit
b9ff049705
|
@ -25,6 +25,9 @@ def get_plugins() -> list[type[Plugin]]:
|
|||
plugins.append(plugin_class)
|
||||
except TypeError:
|
||||
logger.error(f"Invalid entry point for plugin {entry_point.name} found.")
|
||||
except pkg_resources.DistributionNotFound:
|
||||
logger.warn(f"Requirements not fulfilled for {entry_point.name}")
|
||||
logger.debug("DistributionNotFound", exc_info=True)
|
||||
return plugins
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue