chore: improve logger message

This commit is contained in:
arashsheyda
2023-05-31 14:03:45 +03:00
parent 205435e546
commit 86c3c2954e

View File

@ -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)