diff --git a/x-pack/elastic-agent/CHANGELOG.next.asciidoc b/x-pack/elastic-agent/CHANGELOG.next.asciidoc index 3bf4ce446094..1f0a3486108e 100644 --- a/x-pack/elastic-agent/CHANGELOG.next.asciidoc +++ b/x-pack/elastic-agent/CHANGELOG.next.asciidoc @@ -63,6 +63,7 @@ - Fixed issue when unversioned home is set and invoked watcher failing with ENOENT {issue}25371[25371] - Fixed Elastic Agent: expecting Dict and received *transpiler.Key for '0' {issue}24453[24453] - Fix AckBatch to do nothing when no actions passed {pull}25562[25562] +- Add error log entry when listener creation fails {issue}23483[23482] ==== New features diff --git a/x-pack/elastic-agent/pkg/agent/control/server/server.go b/x-pack/elastic-agent/pkg/agent/control/server/server.go index 25db5688c8e7..de7d5ca0f65b 100644 --- a/x-pack/elastic-agent/pkg/agent/control/server/server.go +++ b/x-pack/elastic-agent/pkg/agent/control/server/server.go @@ -60,6 +60,7 @@ func (s *Server) Start() error { lis, err := createListener(s.logger) if err != nil { + s.logger.Errorf("unable to create listener: %s", err) return err } s.listener = lis