mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
replace mongo driver
This commit is contained in:
parent
1e05811c13
commit
2171acc909
@ -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