Skip to content

Commit

Permalink
DOP-5036 log client
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Sep 30, 2024
1 parent c126e41 commit eaa2126
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions search-manifest/src/uploadToAtlas/searchConnector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const db = async ({ uri, dbName }: { uri: string; dbName: string }) => {
client = new mongodb.MongoClient(uri);
try {
await client.connect();
console.log(JSON.stringify(client));
dbInstance = client.db(dbName);
} catch (error) {
const err = `Error at db client connection: ${error} for uri ${uri} and db name ${dbName}`;
Expand Down

0 comments on commit eaa2126

Please sign in to comment.