File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
packages/mongodb-memory-server-core/src Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -362,6 +362,8 @@ export class MongoMemoryReplSet extends EventEmitter implements ManagerAdvanced
362362 ) ;
363363 }
364364
365+ log ( 'ensureAsync chain threw a Error: ' , err ) ;
366+
365367 await this . stop ( false ) ; // still try to close the instance that was spawned, without cleanup for investigation
366368
367369 this . stateChange ( MongoMemoryReplSetStates . stopped ) ;
Original file line number Diff line number Diff line change @@ -285,6 +285,8 @@ export class MongoMemoryServer extends EventEmitter implements ManagerAdvanced {
285285 ) ;
286286 }
287287
288+ this . debug ( '_startUpInstance threw a Error: ' , err ) ;
289+
288290 await this . stop ( false ) ; // still try to close the instance that was spawned, without cleanup for investigation
289291
290292 this . stateChange ( MongoMemoryServerStates . stopped ) ;
You can’t perform that action at this time.
0 commit comments