mirror of
https://github.com/MizuchiLabs/mantrae.git
synced 2025-12-21 06:10:04 -06:00
fix: adding back agent cleanup
This commit is contained in:
@@ -56,10 +56,7 @@ func (s *Server) Start(ctx context.Context) error {
|
||||
|
||||
// Start server in a goroutine
|
||||
go func() {
|
||||
slog.Info("Server starting",
|
||||
"host", host,
|
||||
"port", port,
|
||||
)
|
||||
slog.Info("Server starting", "host", host, "port", port)
|
||||
if err := server.ListenAndServe(); err != nil && err != http.ErrServerClosed {
|
||||
serverErr <- err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user