Skip to content

Commit 898b01b

Browse files
authored
chore: extend error logging
1 parent 338608d commit 898b01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/core/services/plugin_manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (pm *PluginManager) LoadGoPlugin(name string) (commons.DruidPluginInterface
131131
// but removes the SecureConfig is nil warning.
132132
pluginChecksum, err := getPluginExecutableChecksum(path)
133133
if err != nil {
134-
return nil, fmt.Errorf("unable to generate a checksum for the plugin %s", path)
134+
return nil, fmt.Errorf("unable to generate a checksum for the plugin %s: %w", path, err)
135135
}
136136

137137
// We're a host! Start by launching the plugin process.

0 commit comments

Comments
 (0)