chore: improve logger message
This commit is contained in:
@ -11,7 +11,7 @@ export async function defineMongooseConnection({ uri, options }: { uri?: string;
|
||||
|
||||
try {
|
||||
await mongoose.connect(mongooseUri, { ...mongooseOptions })
|
||||
logger.info('Connected to database')
|
||||
logger.info('Connected to mongoose database')
|
||||
}
|
||||
catch (err) {
|
||||
logger.error('Error connecting to database', err)
|
||||
|
||||
Reference in New Issue
Block a user