1
0

plugin: load_plugin: better exception msg if not found

This commit is contained in:
SomberNight
2024-04-18 16:53:48 +00:00
parent 91de8e70e5
commit 8d07672345

View File

@@ -266,7 +266,7 @@ class Plugins(DaemonThread):
elif name in self.external_plugin_metadata:
return self.load_external_plugin(name)
else:
raise Exception()
raise Exception(f"could not find plugin {name!r}")
def load_internal_plugin(self, name) -> 'BasePlugin':
if name in self.plugins: