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()