fix(app): Skip plugins with not satisfied dependencies.
This commit is contained in:
parent
05667787de
commit
2fcc7ffc5b
|
@ -25,6 +25,9 @@ def get_plugins() -> list[type[Plugin]]:
|
||||||
plugins.append(plugin_class)
|
plugins.append(plugin_class)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
logger.error(f"Invalid entry point for plugin {entry_point.name} found.")
|
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
|
return plugins
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue