mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-03 18:52:15 +08:00
replace mongo driver
This commit is contained in:
parent
d25fef1366
commit
7380e07874
@ -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(), uri)
|
||||||
panic(err1.Error())
|
panic(err1.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user