From 898b01b631fd37a4a64754b0c5e82c23a4a7bd7f Mon Sep 17 00:00:00 2001 From: Adrian Busse Date: Thu, 28 Nov 2024 20:19:04 +0000 Subject: [PATCH] chore: extend error logging --- internal/core/services/plugin_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/services/plugin_manager.go b/internal/core/services/plugin_manager.go index 6e3e74f..4d521b4 100644 --- a/internal/core/services/plugin_manager.go +++ b/internal/core/services/plugin_manager.go @@ -131,7 +131,7 @@ func (pm *PluginManager) LoadGoPlugin(name string) (commons.DruidPluginInterface // but removes the SecureConfig is nil warning. pluginChecksum, err := getPluginExecutableChecksum(path) if err != nil { - return nil, fmt.Errorf("unable to generate a checksum for the plugin %s", path) + return nil, fmt.Errorf("unable to generate a checksum for the plugin %s: %w", path, err) } // We're a host! Start by launching the plugin process.