Skip to content

Commit fab3b44

Browse files
committed
Provide details as to exact error being caught
1 parent 71a812d commit fab3b44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Adapters/Storage/Mongo/MongoStorageAdapter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,8 @@ export class MongoStorageAdapter {
598598
}).catch(() => { //err
599599
/* eslint-disable no-console */
600600
// silently eat the error as collection may NOT exist?
601-
//console.info(`Caught an error for ` + schema.className);
602-
//console.dir(err);
601+
console.info(`>>>>>>>> [[ Caught auto-index creation error for ` + schema.className + ' ]]');
602+
console.dir(err);
603603
/* eslint-enable no-console */
604604
});
605605
});

0 commit comments

Comments
 (0)