Stats endpoint API should shut down cleanly #107
Labels
Team:Elastic-Agent
Label for the Agent team
Team:Elastic-Agent-Control-Plane
Label for the Agent Control Plane team
cc @cmacknz
In cases where agent is shut down cleanly (for example, with a sigint), we get this message:
This is a benign error, but it's almost always the last message we get when agent shuts down, which means users might get confused and assume it's somehow related to the shutdown. We should either clarify the error message to make it sound less threatening, or change the
(s *Server) Stop()
method so we don't print an error during "normal" shutdown.The text was updated successfully, but these errors were encountered: