From 0ef1f6513ac0c5adffb049c767d7cdff2d2256db Mon Sep 17 00:00:00 2001 From: Tyera Date: Wed, 6 Mar 2024 23:15:45 -0700 Subject: [PATCH] v1.17: Display error message while loading geyser plugins (#33990) (#97) Display error message while laoding geyser plugins (#33990) Co-authored-by: galactus <96341601+godmodegalactus@users.noreply.github.com> --- geyser-plugin-manager/src/geyser_plugin_manager.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geyser-plugin-manager/src/geyser_plugin_manager.rs b/geyser-plugin-manager/src/geyser_plugin_manager.rs index 48ee75e80b9bb2..81579f8fd9d4de 100644 --- a/geyser-plugin-manager/src/geyser_plugin_manager.rs +++ b/geyser-plugin-manager/src/geyser_plugin_manager.rs @@ -296,13 +296,13 @@ pub enum GeyserPluginManagerError { #[error("Invalid plugin path")] InvalidPluginPath, - #[error("Cannot load plugin shared library")] + #[error("Cannot load plugin shared library (error: {0})")] PluginLoadError(String), #[error("The geyser plugin {0} is already loaded shared library")] PluginAlreadyLoaded(String), - #[error("The GeyserPlugin on_load method failed")] + #[error("The GeyserPlugin on_load method failed (error: {0})")] PluginStartError(String), }