clean up/copyedit

This commit is contained in:
Roy Crihfield 2023-06-09 18:08:56 +08:00
parent 9badeb2b93
commit a9c2d243c5

View File

@ -77,7 +77,7 @@ func NewPluginLoader(target string) (*PluginLoader, error) {
} }
plug, err := plugin.Open(fpath) plug, err := plugin.Open(fpath)
if err != nil { if err != nil {
log.Warn("File in plugin directory could not be loaded: %v", "file", fpath, "error", err.Error()) log.Warn("File in plugin directory could not be loaded", "file", fpath, "error", err)
continue continue
} }
// Any type of plugin can potentially specify flags // Any type of plugin can potentially specify flags