diff --git a/routers/search.go b/routers/search.go index 410944197..2ca2ec541 100644 --- a/routers/search.go +++ b/routers/search.go @@ -25,7 +25,8 @@ func InitESClient() { var err error client, err = elastic.NewClient(elastic.SetSniff(false), elastic.SetURL(ESSearchUrl)) if err != nil { - panic(err) + log.Info("es init error.") + //panic(err) } }