Skip to content

Commit 43cf848

Browse files
committed
err
1 parent fab3b44 commit 43cf848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapters/Storage/Mongo/MongoStorageAdapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ export class MongoStorageAdapter {
595595
$set: { _metadata: { indexes: indexes } }
596596
}));
597597

598-
}).catch(() => { //err
598+
}).catch((err) => {
599599
/* eslint-disable no-console */
600600
// silently eat the error as collection may NOT exist?
601601
console.info(`>>>>>>>> [[ Caught auto-index creation error for ` + schema.className + ' ]]');

0 commit comments

Comments
 (0)