Skip to content

Commit 3eebfb4

Browse files
committed
Thank you Ellipsis
1 parent 9126423 commit 3eebfb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/Cline.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2572,7 +2572,7 @@ export class Cline extends EventEmitter<ClineEvents> {
25722572
}
25732573
}
25742574

2575-
public checkpointSave() {
2575+
public async checkpointSave() {
25762576
const service = this.getCheckpointService()
25772577

25782578
if (!service) {
@@ -2591,7 +2591,7 @@ export class Cline extends EventEmitter<ClineEvents> {
25912591
telemetryService.captureCheckpointCreated(this.taskId)
25922592

25932593
// Start the checkpoint process in the background.
2594-
service.saveCheckpoint(`Task: ${this.taskId}, Time: ${Date.now()}`).catch((err) => {
2594+
return service.saveCheckpoint(`Task: ${this.taskId}, Time: ${Date.now()}`).catch((err) => {
25952595
console.error("[Cline#checkpointSave] caught unexpected error, disabling checkpoints", err)
25962596
this.enableCheckpoints = false
25972597
})

0 commit comments

Comments
 (0)