diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bfff3e66..c088c3414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * AutoConnect: Store bluetooth address instead of object path * Applet: Handle UnknownObject DBus error (@tommie) * Make search button available after device list becomes empty (@astcri) +* Fatal LoadException ### Changes * Terminate applet on manager termination if it was started by manager diff --git a/blueman/main/PluginManager.py b/blueman/main/PluginManager.py index 8b2d1a761..8d7da5554 100644 --- a/blueman/main/PluginManager.py +++ b/blueman/main/PluginManager.py @@ -121,7 +121,10 @@ def load_plugin(self, name: Optional[str] = None, user_action: bool = False) -> if (cls.__autoload__ or (cl and cls.__name__ in cl)) and \ not (cls.__unloadable__ and cl and "!" + cls.__name__ in cl): - self.__load_plugin(cls) + try: + self.__load_plugin(cls) + except LoadException: + pass def disable_plugin(self, plugin: str) -> bool: return False