mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-04 11:22:10 +08:00
replace mongo driver
This commit is contained in:
parent
7380e07874
commit
c39eff9aa2
@ -71,7 +71,7 @@ func init() {
|
|||||||
|
|
||||||
mgoSession, err1 = mgo.DialWithInfo(mgoDailInfo)
|
mgoSession, err1 = mgo.DialWithInfo(mgoDailInfo)
|
||||||
if err1 != nil {
|
if err1 != nil {
|
||||||
// log.NewError(" mongo.Connect failed, panic", err.Error(), uri)
|
log.NewError(" mongo.Connect failed, panic", err.Error())
|
||||||
panic(err1.Error())
|
panic(err1.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user