diff --git a/consul/operator_endpoint.go b/consul/operator_endpoint.go index a33c07a78..dac7ff748 100644 --- a/consul/operator_endpoint.go +++ b/consul/operator_endpoint.go @@ -113,8 +113,11 @@ REMOVE: // pass. future := op.srv.raft.RemovePeer(args.Address) if err := future.Error(); err != nil { + op.srv.logger.Printf("[WARN] consul.operator: Failed to remove Raft peer %q: %v", + args.Address, err) return err } + op.srv.logger.Printf("[WARN] consul.operator: Removed Raft peer %q by", args.Address) return nil }