Skip to content

Commit e388c32

Browse files
committed
Improve error output on Repository.__getitem__
1 parent e38186c commit e388c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pluginmanager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def __getitem__(self, plugin_path: str):
289289
for plugin in self.plugins:
290290
if plugin_path == plugin.path:
291291
return plugin
292-
raise KeyError()
292+
raise KeyError(plugin_path)
293293

294294
@property
295295
def url(self) -> str:

0 commit comments

Comments
 (0)