do not fail on unavailable plugin entrypoint
gitea/authentic/pipeline/head Build started...
Details
gitea/authentic/pipeline/head Build started...
Details
This commit is contained in:
parent
a7d71f163d
commit
f03b7434ae
|
@ -35,8 +35,8 @@ def get_plugins(group_name=DEFAULT_GROUP_NAME, use_cache=True, *args, **kwargs):
|
|||
plugin_callable = entrypoint.load()
|
||||
except Exception as e:
|
||||
logger.exception('unable to load entrypoint %s', entrypoint)
|
||||
raise PluginError('unable to load entrypoint %s' % entrypoint, e)
|
||||
plugins.append(plugin_callable(*args, **kwargs))
|
||||
else:
|
||||
plugins.append(plugin_callable(*args, **kwargs))
|
||||
PLUGIN_CACHE[group_name] = plugins
|
||||
return plugins
|
||||
|
||||
|
|
Loading…
Reference in New Issue