Skip to content

Commit 8265cfe

Browse files
committed
handling the case when upload dom to s3 failed
1 parent b194691 commit 8265cfe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/snapshotQueue.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,9 @@ export default class Queue {
422422
this.ctx.log.debug(`Closed browser context for snapshot ${snapshot.name}`);
423423
}
424424
}
425+
if(snapshot?.options?.contextId){
426+
this.ctx.contextToSnapshotMap?.set(snapshot?.options?.contextId,2);
427+
}
425428
this.processNext();
426429
} else {
427430
await this.ctx.client.processSnapshot(this.ctx, processedSnapshot, snapshotUuid, discoveryErrors,calculateVariantCountFromSnapshot(processedSnapshot, this.ctx.config),snapshot?.options?.sync);

0 commit comments

Comments
 (0)