diff --git a/cmd/server/main.go b/cmd/server/main.go index 0b495748..b033f8b4 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -112,7 +112,10 @@ func main() { log.Info(ctx, "****************** ") go func() { - http.ListenAndServe("0.0.0.0:6060", nil) + err := http.ListenAndServe("0.0.0.0:6060", nil) + if err != nil { + log.Error(ctx, "0.0.0.0:6060 failed to listen") + } }() // For web service