diff --git a/fs/rc/webgui/plugins.go b/fs/rc/webgui/plugins.go index 424e432b4..78fe3b2d9 100644 --- a/fs/rc/webgui/plugins.go +++ b/fs/rc/webgui/plugins.go @@ -174,7 +174,9 @@ func (p *Plugins) writeToFile() (err error) { availablePluginsJSON := filepath.Join(pluginsConfigPath, p.fileName) file, err := json.MarshalIndent(p, "", " ") - + if err != nil { + fs.Logf(nil, "%s", err) + } err = ioutil.WriteFile(availablePluginsJSON, file, 0755) if err != nil { fs.Logf(nil, "%s", err)