fix(app): Skip plugins with not satisfied dependencies.
continuous-integration/woodpecker the build failed
Details
continuous-integration/woodpecker the build failed
Details
This commit is contained in:
parent
04dcf39dfc
commit
5ff906086b
|
@ -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