diff --git a/src/db/connection.ts b/src/db/connection.ts index a77df01..6a9b312 100644 --- a/src/db/connection.ts +++ b/src/db/connection.ts @@ -54,7 +54,7 @@ export default class MongoConnectionManager { public ensureConnected(): void { if (this.mongoConnection === null) { - throw new Error('No active MongoDB connection! Please connect first.'); + throw new Error('No active MongoDB connection. Please connect first.'); } }