From e9e2d7bc6fffb7f29e86222d299106ec12d19f96 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sun, 19 May 2019 22:03:20 +0100 Subject: [PATCH] Remove debug println --- src/admin/admin.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/admin/admin.go b/src/admin/admin.go index ff5476e4..7cf5f330 100644 --- a/src/admin/admin.go +++ b/src/admin/admin.go @@ -396,7 +396,7 @@ func (a *AdminSocket) handleRequest(conn net.Conn) { // Decode the input if err := decoder.Decode(&recv); err != nil { - // fmt.Println("Admin socket JSON decode error:", err) + a.log.Debugln("Admin socket JSON decode error:", err) return } @@ -412,8 +412,6 @@ func (a *AdminSocket) handleRequest(conn net.Conn) { n := strings.ToLower(recv["request"].(string)) if h, ok := a.handlers[strings.ToLower(n)]; ok { - fmt.Println("HANDLER FOUND", n, h) - // Check that we have all the required arguments for _, arg := range h.args { // An argument in [square brackets] is optional and not required,