mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Others] plugin raise error msg (#5675)
This commit is contained in:
@@ -52,7 +52,7 @@ def load_plugins_by_group(group: str) -> dict[str, Callable[[], Any]]:
|
||||
try:
|
||||
func = plugin.load()
|
||||
plugins[plugin.name] = func
|
||||
except Exception:
|
||||
logger.exception("Failed to load plugin %s", plugin.name)
|
||||
except Exception as e:
|
||||
logger.exception(f"Failed to load plugin {plugin.name}, error: {e}")
|
||||
|
||||
return plugins
|
||||
|
||||
Reference in New Issue
Block a user