diff --git a/modules/horoscope/modelhoroscope.go b/modules/horoscope/modelhoroscope.go index a3ae07481..c58207f97 100644 --- a/modules/horoscope/modelhoroscope.go +++ b/modules/horoscope/modelhoroscope.go @@ -36,7 +36,7 @@ func (this *modelHoroscope) queryInfo(uId string) (result *pb.DBHoroscope, err e this.module.Errorln(err) return } - if err != mgo.MongodbNil { + if err == mgo.MongodbNil { err = nil } return