Commit 94842c27 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

feat: Plugins: Set error if init fails

parent 3dd59364
......@@ -284,8 +284,9 @@ def init_plugins(self) -> None:
try:
self.activate_plugin(plugin)
except GajimPluginActivateException:
pass
except GajimPluginActivateException as error:
plugin.activatable = False
plugin.available_text = str(error)
def _load_plugin_module(self,
manifest: PluginManifest
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment