Optimise start-up and shut-down
This commit is contained in:
@@ -36,7 +36,7 @@ func InitDataAccess(cfg *helpers.Configuration) {
|
||||
fmt.Println(err)
|
||||
log.Fatal("Error connecting to database: " + err.Error())
|
||||
} else {
|
||||
log.Info("Database connection successful")
|
||||
log.Info("Database connection initialising")
|
||||
}
|
||||
MongoClient = client
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user