From 7d8a3e78b5df34d8045dc3d440ff51b8b046e809 Mon Sep 17 00:00:00 2001 From: phrp Date: Wed, 22 Jan 2025 03:43:36 +0100 Subject: [PATCH] minor fix --- plugins/filter/plugin.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/filter/plugin.go b/plugins/filter/plugin.go index 4bd5117..167b445 100644 --- a/plugins/filter/plugin.go +++ b/plugins/filter/plugin.go @@ -64,7 +64,9 @@ func (f *Plugin) Execute(events models.Events, watcher string, userID string, in func (f *Plugin) ReplicateConfig(path string) { err := CreateConfigFile(path, f.Name()) - log.Print(err) + if err != nil { + log.Print(err) + } } func (f *Plugin) Name() string {