summaryrefslogtreecommitdiff
path: root/plugins/rpc
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-25 13:10:06 +0300
committerValery Piashchynski <[email protected]>2021-01-25 13:10:06 +0300
commit2a0e7d37d825da6bb0538599ce0e2edaaa59403b (patch)
tree89c00a43333246bb6c6815c923548eecd7d4e717 /plugins/rpc
parentb18a3578b6d299aac5dfcc016c2a3a0f6905aa0d (diff)
resolve #415
Diffstat (limited to 'plugins/rpc')
-rw-r--r--plugins/rpc/plugin.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/rpc/plugin.go b/plugins/rpc/plugin.go
index 55b24cd1..e13768f0 100644
--- a/plugins/rpc/plugin.go
+++ b/plugins/rpc/plugin.go
@@ -86,8 +86,7 @@ func (s *Plugin) Serve() chan error {
conn, err := s.listener.Accept()
if err != nil {
if atomic.LoadUint32(s.closed) == 1 {
- // just log and continue, this is not a critical issue, we just called Stop
- s.log.Warn("listener accept error, connection closed", "error", err)
+ // just continue, this is not a critical issue, we just called Stop
return
}