From a2730a03053ec72d0c9c89981678d0cb468b75c1 Mon Sep 17 00:00:00 2001 From: tkratky Date: Wed, 24 Jan 2024 13:16:53 +0100 Subject: [PATCH] fix(plugin_manager): is_activated error during startup --- errbot/plugin_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/errbot/plugin_manager.py b/errbot/plugin_manager.py index df741eb82..51e574060 100644 --- a/errbot/plugin_manager.py +++ b/errbot/plugin_manager.py @@ -271,9 +271,6 @@ def _load_plugins_generic( log.warning("Plugin %s already loaded.", name) continue - # save the plugin_info for ref. - dest_info_dict[name] = plugin_info - # Skip the core plugins not listed in CORE_PLUGINS if CORE_PLUGINS is defined. if ( self.core_plugins @@ -302,6 +299,9 @@ def _load_plugins_generic( _, clazz = plugin_classes[0] dest_dict[name] = self._plugin_instance_callback(name, clazz) + # save the plugin_info for ref. + dest_info_dict[name] = plugin_info + except Exception: feedback[path] = traceback.format_exc()