nice shortcut on resource

This commit is contained in:
mr
2024-07-31 16:56:30 +02:00
parent 51f3a320b3
commit ad455e0e3a
2 changed files with 39 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ func (m *MongoDB) createClient(MongoURL string) error {
if err = mngoClient.Ping(MngoCtx, nil); err != nil {
mngoClient = nil
return errors.New("Mongodb connect " + MongoURL + ":" + "err")
return errors.New("Mongodb ping " + MongoURL + ":" + "err")
}
return nil
}