Skip to content

Commit da81c51

Browse files
committed
added error output to console
- temporary, to find out why test fails on mongodb 3.6.9
1 parent affc307 commit da81c51

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Adapters/Storage/Mongo/MongoStorageAdapter.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,10 @@ export class MongoStorageAdapter implements StorageAdapter {
884884
mongoObjectToParseObject(className, object, schema)
885885
)
886886
)
887-
.catch(err => this.handleError(err));
887+
.catch((err) => {
888+
console.log(err);
889+
this.handleError(err);
890+
});
888891
}
889892

890893
// This function will recursively traverse the pipeline and convert any Pointer or Date columns.

0 commit comments

Comments
 (0)