summaryrefslogtreecommitdiff
path: root/plugins/broadcast/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-18 12:38:36 +0300
committerValery Piashchynski <[email protected]>2021-06-18 12:38:36 +0300
commit1229d24e574f9632ea68dea721fe7ed437afbb85 (patch)
tree334eb3c4a02d8ec559af42850fab2fb45325ddf7 /plugins/broadcast/plugin.go
parent9e8bad3988c1fec2e545898d529446f7b93e537b (diff)
- Add broadcast tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/broadcast/plugin.go')
-rw-r--r--plugins/broadcast/plugin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/broadcast/plugin.go b/plugins/broadcast/plugin.go
index 612b6a47..3b420a4b 100644
--- a/plugins/broadcast/plugin.go
+++ b/plugins/broadcast/plugin.go
@@ -74,8 +74,8 @@ func (p *Plugin) Serve() chan error {
return errCh
}
default:
- p.log.Warn("wrong type detected in the configuration, please, check yaml indentation")
- continue
+ errCh <- errors.E(op, errors.Str("wrong type detected in the configuration, please, check yaml indentation"))
+ return errCh
}
// config key for the particular sub-driver kv.memcached