summaryrefslogtreecommitdiff
path: root/plugins/broadcast/plugin.go
diff options
context:
space:
mode:
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